Skip to content

Commit d71ffeb

Browse files
Dejin ZhengLinus Walleij
authored andcommitted
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>
1 parent f8f0aa0 commit d71ffeb

6 files changed

Lines changed: 8 additions & 7 deletions

File tree

‎drivers/pinctrl/freescale/pinctrl-imx1-core.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ struct imx1_pinctrl {
6060

6161
/*
6262
* 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
6464
* configuration A, input configuration B, GPIO in use and data direction.
6565
*
6666
* Those controls that are represented by 1 bit have a direct mapping between

‎drivers/pinctrl/pinctrl-lantiq.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ static int match_mux(const struct ltq_mfp_pin *mfp, unsigned mux)
221221
return i;
222222
}
223223

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 */
225225
static int match_mfp(const struct ltq_pinmux_info *info, int pin)
226226
{
227227
int i;

‎drivers/pinctrl/pinctrl-sx150x.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -988,7 +988,7 @@ static unsigned int sx150x_maybe_swizzle(struct sx150x_pinctrl *pctl,
988988
/*
989989
* In order to mask the differences between 16 and 8 bit expander
990990
* 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
992992
* pair/quartet) registers and transparently reconstructs those
993993
* registers via multiple I2C/SMBus reads
994994
*

‎drivers/pinctrl/sh-pfc/pfc-sh7269.c‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1963,8 +1963,9 @@ static const struct pinmux_func pinmux_func_gpios[] = {
19631963
static const struct pinmux_cfg_reg pinmux_config_regs[] = {
19641964
/* "name" addr register_size Field_Width */
19651965

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+
*/
19681969

19691970
{ PINMUX_CFG_REG("PAIOR0", 0xfffe3812, 16, 1, GROUP(
19701971
0, 0, 0, 0, 0, 0, 0, 0,

‎drivers/pinctrl/tegra/pinctrl-tegra-xusb.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ static int tegra_xusb_padctl_get_group_pins(struct pinctrl_dev *pinctrl,
123123
unsigned *num_pins)
124124
{
125125
/*
126-
* For the tegra-xusb pad controller groups are synonomous
126+
* For the tegra-xusb pad controller groups are synonymous
127127
* with lanes/pins and there is always one lane/pin per group.
128128
*/
129129
*pins = &pinctrl->desc->pins[group].number;

‎drivers/pinctrl/zte/pinctrl-zx.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ static int zx_set_mux(struct pinctrl_dev *pctldev, unsigned int func_selector,
9494
if (data->aon_pin) {
9595
/*
9696
* 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
9898
* pins, and each pin occupies 2 bits.
9999
*/
100100
u16 aoffset = pindesc->number / 16 * 4;

0 commit comments

Comments
 (0)