pinctrl: fix several typos
Subsystems (5)
PATCH v3 1/1 pinctrl: fix several typos
use codespell to fix lots of typos over frontends.
CC Andy Shevchenko <[email protected]>
Reviewed-by Geert Uytterhoeven <[email protected]>
Signed-off-by Dejin Zheng <[email protected]>
---
v2 -> v3:
- remove the changed of "thru -> through" in the pinctrl-nomadik-db8500.c by Joe's suggestion.
v1 -> v2:
- Geert help me Reviewed the pfc-sh7269.c and Thanks Geert.
- Geert advised me modify [0..16] to [0..15] in the pfc-sh7269.c
- Uwe advised me modify "control register are" to "control registers are", Thanks Uwe.
drivers/pinctrl/freescale/pinctrl-imx1-core.c | 2 +- drivers/pinctrl/pinctrl-lantiq.c | 2 +- drivers/pinctrl/pinctrl-sx150x.c | 2 +- drivers/pinctrl/sh-pfc/pfc-sh7269.c | 5 +++-- drivers/pinctrl/tegra/pinctrl-tegra-xusb.c | 2 +- drivers/pinctrl/zte/pinctrl-zx.c | 2 +- 6 files changed, 8 insertions(+), 7 deletions(-)
drivers/pinctrl/freescale/pinctrl-imx1-core.c +1 -1
@@ -60,7 +60,7 @@ struct imx1_pinctrl {/* * IMX1 IOMUXC manages the pins based on ports. Each port has 32 pins. IOMUX -* control register are seperated into function, output configuration, input +* control registers are separated into function, output configuration, input * configuration A, input configuration B, GPIO in use and data direction. * * Those controls that are represented by 1 bit have a direct mapping between
drivers/pinctrl/pinctrl-lantiq.c +1 -1
@@ -221,7 +221,7 @@ static int match_mux(const struct ltq_mfp_pin *mfp, unsigned mux)return i; } -/* dont assume .mfp is linearly mapped. find the mfp with the correct .pin */ +/* don't assume .mfp is linearly mapped. find the mfp with the correct .pin */ static int match_mfp (const struct ltq_pinmux_info *info,int pin) {int i;
drivers/pinctrl/pinctrl-sx150x.c +1 -1
@@ -988,7 +988,7 @@ static unsigned int sx150x_maybe_swizzle(struct sx150x_pinctrl *pctl,/* * In order to mask the differences between 16 and 8 bit expander * devices we set up a sligthly ficticious regmap that pretends to be -* a set of 32-bit (to accomodate RegSenseLow/RegSenseHigh +* a set of 32-bit (to accommodate RegSenseLow/RegSenseHigh * pair/quartet) registers and transparently reconstructs those * registers via multiple I2C/SMBus reads *
drivers/pinctrl/sh-pfc/pfc-sh7269.c +3 -2
@@ -1963,8 +1963,9 @@ static const struct pinmux_func pinmux_func_gpios[] = {static const struct pinmux_cfg_reg pinmux_config_regs[] = {/* "name" addr register_size Field_Width */ -/* where Field_Width is 1 for single mode registers or 4 for upto 16 -mode registers and modes are described in assending order [0..16] */ +/* where Field_Width is 1 for single mode registers or 4 for up to 16 +* mode registers and modes are described in assending order [0..15] +*/ { PINMUX_CFG_REG("PAIOR0", 0xfffe3812, 16, 1, GROUP( 0, 0, 0, 0, 0, 0, 0, 0,
drivers/pinctrl/tegra/pinctrl-tegra-xusb.c +1 -1
@@ -123,7 +123,7 @@ static int tegra_xusb_padctl_get_group_pins(struct pinctrl_dev *pinctrl, unsigned *num_pins) {/* -* For the tegra-xusb pad controller groups are synonomous +* For the tegra-xusb pad controller groups are synonymous * with lanes/pins and there is always one lane/pin per group. */ *pins = &pinctrl->desc->pins[group].number;
drivers/pinctrl/zte/pinctrl-zx.c +1 -1
@@ -94,7 +94,7 @@ static int zx_set_mux(struct pinctrl_dev *pctldev, unsigned int func_selector,if (data->aon_pin) {/* * It's an AON pin, whose mux register offset and bit position -* can be caluculated from pin number. Each register covers 16 +* can be calculated from pin number. Each register covers 16 * pins, and each pin occupies 2 bits. */ u16 aoffset = pindesc->number /16 *4 ;
Signature · 1 line
2.25.0
Quoted 7 lines · Dejin Zheng
use codespell to fix lots of typos over frontends.
CC Andy Shevchenko <[email protected]>Reviewed-by Geert Uytterhoeven <[email protected]>Signed-off-by Dejin Zheng <[email protected]>drivers/pinctrl/sh-pfc/pfc-sh7269.c | 5 +++--
Gr{oetje,eeting}s,
Geert
Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected] In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
Quoted 9 lines · Dejin Zheng
use codespell to fix lots of typos over frontends.
CC Andy Shevchenko <[email protected]>Reviewed-by Geert Uytterhoeven <[email protected]>Signed-off-by Dejin Zheng <[email protected]>---
v2 -> v3:
- remove the changed of "thru -> through" in thepinctrl-nomadik-db8500.cby Joe's suggestion.
Patch applied.
Yours,
Linus Walleij