Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756492AbcKWJOM (ORCPT ); Wed, 23 Nov 2016 04:14:12 -0500 Received: from mail-wm0-f49.google.com ([74.125.82.49]:37074 "EHLO mail-wm0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752147AbcKWJNd (ORCPT ); Wed, 23 Nov 2016 04:13:33 -0500 Subject: Re: [PATCH 1/2] pinctrl: sx150x: various spelling fixes and some white-space cleanup To: Peter Rosin , linux-kernel@vger.kernel.org References: <1479830762-1839-1-git-send-email-peda@axentia.se> <1479830762-1839-2-git-send-email-peda@axentia.se> Cc: Linus Walleij , Andrey Smirnov , linux-gpio@vger.kernel.org From: Neil Armstrong Organization: Baylibre Message-ID: <5b11095c-e7f0-d675-67f3-4453bf16a2bd@baylibre.com> Date: Wed, 23 Nov 2016 10:13:19 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <1479830762-1839-2-git-send-email-peda@axentia.se> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2579 Lines: 69 On 11/22/2016 05:06 PM, Peter Rosin wrote: > Signed-off-by: Peter Rosin > --- > 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 > * > Acked-by: Neil Armstrong