Commit d71ffeb9 authored by Dejin Zheng's avatar Dejin Zheng Committed by Linus Walleij
Browse files

pinctrl: fix several typos



use codespell to fix lots of typos over frontends.

Signed-off-by: default avatarDejin Zheng <zhengdejin5@gmail.com>
Reviewed-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Acked-by: default avatarGeert 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: default avatarLinus Walleij <linus.walleij@linaro.org>
parent f8f0aa00
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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;
+1 −1
Original line number Diff line number Diff line
@@ -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
 *
+3 −2
Original line number Diff line number Diff line
@@ -1964,7 +1964,8 @@ 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 up to 16
	   mode registers and modes are described in assending order [0..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,
+1 −1
Original line number Diff line number Diff line
@@ -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;
Loading