From: Peter Rosin <peda@axentia.se> To: linux-kernel@vger.kernel.org Cc: Peter Rosin <peda@axentia.se>, Linus Walleij <linus.walleij@linaro.org>, Andrey Smirnov <andrew.smirnov@gmail.com>, Neil Armstrong <narmstrong@baylibre.com>, linux-gpio@vger.kernel.org Subject: [PATCH v2 1/2] pinctrl: sx150x: various spelling fixes and some white-space cleanup Date: Wed, 23 Nov 2016 11:18:50 +0100 [thread overview] Message-ID: <1479896331-16915-2-git-send-email-peda@axentia.se> (raw) In-Reply-To: <1479896331-16915-1-git-send-email-peda@axentia.se> Acked-by: Neil Armstrong <narmstrong@baylibre.com> Signed-off-by: Peter Rosin <peda@axentia.se> --- drivers/pinctrl/pinctrl-sx150x.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/drivers/pinctrl/pinctrl-sx150x.c b/drivers/pinctrl/pinctrl-sx150x.c index 63778058eec7..ef4ef88e0ee9 100644 --- a/drivers/pinctrl/pinctrl-sx150x.c +++ b/drivers/pinctrl/pinctrl-sx150x.c @@ -384,7 +384,7 @@ static int sx150x_gpio_oscio_set(struct sx150x_pinctrl *pctl, } static void sx150x_gpio_set(struct gpio_chip *chip, unsigned int offset, - int value) + int value) { struct sx150x_pinctrl *pctl = gpiochip_get_data(chip); @@ -396,7 +396,7 @@ static void sx150x_gpio_set(struct gpio_chip *chip, unsigned int offset, } static int sx150x_gpio_direction_input(struct gpio_chip *chip, - unsigned int offset) + unsigned int offset) { struct sx150x_pinctrl *pctl = gpiochip_get_data(chip); @@ -409,7 +409,7 @@ static int sx150x_gpio_direction_input(struct gpio_chip *chip, } static int sx150x_gpio_direction_output(struct gpio_chip *chip, - unsigned int offset, int value) + unsigned int offset, int value) { struct sx150x_pinctrl *pctl = gpiochip_get_data(chip); int ret; @@ -880,7 +880,7 @@ static unsigned int sx150x_maybe_swizzle(struct sx150x_pinctrl *pctl, * reg + 3 [ 3 3 2 2 1 1 0 0 ] * * SX1503 and SX1506 deviate from that data layout, instead storing - * thier contents as follows: + * their contents as follows: * * reg [ f f e e d d c c ] * reg + 1 [ 7 7 6 6 5 5 4 4 ] @@ -915,9 +915,8 @@ static unsigned int sx150x_maybe_swizzle(struct sx150x_pinctrl *pctl, * * This way the rest of the driver code, interfacing with the chip via * regmap API, can work assuming that each GPIO pin is represented by - * a group of bits at an offset proportioan to GPIO number within a + * a group of bits at an offset proportional to GPIO number within a * given register. - * */ static int sx150x_regmap_reg_read(void *context, unsigned int reg, unsigned int *result) @@ -929,7 +928,7 @@ static int sx150x_regmap_reg_read(void *context, unsigned int reg, unsigned int idx, val; /* - * There are four potential cases coverd by this function: + * There are four potential cases covered by this function: * * 1) 8-pin chip, single configuration bit register * -- 2.1.4
WARNING: multiple messages have this Message-ID (diff)
From: Peter Rosin <peda@axentia.se> To: <linux-kernel@vger.kernel.org> Cc: Peter Rosin <peda@axentia.se>, Linus Walleij <linus.walleij@linaro.org>, Andrey Smirnov <andrew.smirnov@gmail.com>, Neil Armstrong <narmstrong@baylibre.com>, <linux-gpio@vger.kernel.org> Subject: [PATCH v2 1/2] pinctrl: sx150x: various spelling fixes and some white-space cleanup Date: Wed, 23 Nov 2016 11:18:50 +0100 [thread overview] Message-ID: <1479896331-16915-2-git-send-email-peda@axentia.se> (raw) In-Reply-To: <1479896331-16915-1-git-send-email-peda@axentia.se> Acked-by: Neil Armstrong <narmstrong@baylibre.com> Signed-off-by: Peter Rosin <peda@axentia.se> --- drivers/pinctrl/pinctrl-sx150x.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/drivers/pinctrl/pinctrl-sx150x.c b/drivers/pinctrl/pinctrl-sx150x.c index 63778058eec7..ef4ef88e0ee9 100644 --- a/drivers/pinctrl/pinctrl-sx150x.c +++ b/drivers/pinctrl/pinctrl-sx150x.c @@ -384,7 +384,7 @@ static int sx150x_gpio_oscio_set(struct sx150x_pinctrl *pctl, } static void sx150x_gpio_set(struct gpio_chip *chip, unsigned int offset, - int value) + int value) { struct sx150x_pinctrl *pctl = gpiochip_get_data(chip); @@ -396,7 +396,7 @@ static void sx150x_gpio_set(struct gpio_chip *chip, unsigned int offset, } static int sx150x_gpio_direction_input(struct gpio_chip *chip, - unsigned int offset) + unsigned int offset) { struct sx150x_pinctrl *pctl = gpiochip_get_data(chip); @@ -409,7 +409,7 @@ static int sx150x_gpio_direction_input(struct gpio_chip *chip, } static int sx150x_gpio_direction_output(struct gpio_chip *chip, - unsigned int offset, int value) + unsigned int offset, int value) { struct sx150x_pinctrl *pctl = gpiochip_get_data(chip); int ret; @@ -880,7 +880,7 @@ static unsigned int sx150x_maybe_swizzle(struct sx150x_pinctrl *pctl, * reg + 3 [ 3 3 2 2 1 1 0 0 ] * * SX1503 and SX1506 deviate from that data layout, instead storing - * thier contents as follows: + * their contents as follows: * * reg [ f f e e d d c c ] * reg + 1 [ 7 7 6 6 5 5 4 4 ] @@ -915,9 +915,8 @@ static unsigned int sx150x_maybe_swizzle(struct sx150x_pinctrl *pctl, * * This way the rest of the driver code, interfacing with the chip via * regmap API, can work assuming that each GPIO pin is represented by - * a group of bits at an offset proportioan to GPIO number within a + * a group of bits at an offset proportional to GPIO number within a * given register. - * */ static int sx150x_regmap_reg_read(void *context, unsigned int reg, unsigned int *result) @@ -929,7 +928,7 @@ static int sx150x_regmap_reg_read(void *context, unsigned int reg, unsigned int idx, val; /* - * There are four potential cases coverd by this function: + * There are four potential cases covered by this function: * * 1) 8-pin chip, single configuration bit register * -- 2.1.4
next prev parent reply other threads:[~2016-11-23 10:19 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2016-11-23 10:18 [PATCH v2 0/2] pinctrl: sx150x: set multiple pins at once Peter Rosin 2016-11-23 10:18 ` Peter Rosin 2016-11-23 10:18 ` Peter Rosin [this message] 2016-11-23 10:18 ` [PATCH v2 1/2] pinctrl: sx150x: various spelling fixes and some white-space cleanup Peter Rosin 2016-11-23 13:46 ` Linus Walleij 2016-11-23 10:18 ` [PATCH v2 2/2] pinctrl: sx150x: support setting multiple pins at once Peter Rosin 2016-11-23 10:18 ` Peter Rosin 2016-11-24 14:08 ` Linus Walleij
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1479896331-16915-2-git-send-email-peda@axentia.se \ --to=peda@axentia.se \ --cc=andrew.smirnov@gmail.com \ --cc=linus.walleij@linaro.org \ --cc=linux-gpio@vger.kernel.org \ --cc=linux-kernel@vger.kernel.org \ --cc=narmstrong@baylibre.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.