Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

pinctrl: fix several typos

use codespell to fix lots of typos over frontends.

Signed-off-by: Dejin Zheng <zhengdejin5@gmail.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
CC: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20200421142402.9524-1-zhengdejin5@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

authored by

Dejin Zheng and committed by
Linus Walleij
d71ffeb9 f8f0aa00

+8 -7
+1 -1
drivers/pinctrl/freescale/pinctrl-imx1-core.c
··· 60 60 61 61 /* 62 62 * IMX1 IOMUXC manages the pins based on ports. Each port has 32 pins. IOMUX 63 - * control register are seperated into function, output configuration, input 63 + * control registers are separated into function, output configuration, input 64 64 * configuration A, input configuration B, GPIO in use and data direction. 65 65 * 66 66 * Those controls that are represented by 1 bit have a direct mapping between
+1 -1
drivers/pinctrl/pinctrl-lantiq.c
··· 221 221 return i; 222 222 } 223 223 224 - /* dont assume .mfp is linearly mapped. find the mfp with the correct .pin */ 224 + /* don't assume .mfp is linearly mapped. find the mfp with the correct .pin */ 225 225 static int match_mfp(const struct ltq_pinmux_info *info, int pin) 226 226 { 227 227 int i;
+1 -1
drivers/pinctrl/pinctrl-sx150x.c
··· 988 988 /* 989 989 * In order to mask the differences between 16 and 8 bit expander 990 990 * devices we set up a sligthly ficticious regmap that pretends to be 991 - * a set of 32-bit (to accomodate RegSenseLow/RegSenseHigh 991 + * a set of 32-bit (to accommodate RegSenseLow/RegSenseHigh 992 992 * pair/quartet) registers and transparently reconstructs those 993 993 * registers via multiple I2C/SMBus reads 994 994 *
+3 -2
drivers/pinctrl/sh-pfc/pfc-sh7269.c
··· 1963 1963 static const struct pinmux_cfg_reg pinmux_config_regs[] = { 1964 1964 /* "name" addr register_size Field_Width */ 1965 1965 1966 - /* where Field_Width is 1 for single mode registers or 4 for upto 16 1967 - mode registers and modes are described in assending order [0..16] */ 1966 + /* where Field_Width is 1 for single mode registers or 4 for up to 16 1967 + * mode registers and modes are described in assending order [0..15] 1968 + */ 1968 1969 1969 1970 { PINMUX_CFG_REG("PAIOR0", 0xfffe3812, 16, 1, GROUP( 1970 1971 0, 0, 0, 0, 0, 0, 0, 0,
+1 -1
drivers/pinctrl/tegra/pinctrl-tegra-xusb.c
··· 123 123 unsigned *num_pins) 124 124 { 125 125 /* 126 - * For the tegra-xusb pad controller groups are synonomous 126 + * For the tegra-xusb pad controller groups are synonymous 127 127 * with lanes/pins and there is always one lane/pin per group. 128 128 */ 129 129 *pins = &pinctrl->desc->pins[group].number;
+1 -1
drivers/pinctrl/zte/pinctrl-zx.c
··· 94 94 if (data->aon_pin) { 95 95 /* 96 96 * It's an AON pin, whose mux register offset and bit position 97 - * can be caluculated from pin number. Each register covers 16 97 + * can be calculated from pin number. Each register covers 16 98 98 * pins, and each pin occupies 2 bits. 99 99 */ 100 100 u16 aoffset = pindesc->number / 16 * 4;