Message ID | 20180820133513.79629-1-andriy.shevchenko@linux.intel.com |
---|---|
State | New |
Headers | show |
Series | [v1,1/7] pinctrl: intel: Fix a spelling typo in kernel documentation | expand |
On Mon, Aug 20, 2018 at 04:35:07PM +0300, Andy Shevchenko wrote: > The parameter 'community' had been spelled incorrectly. > Fix it here. > > As a side effect it satisfies static checkers that issue > the following warnings: > > drivers/pinctrl/intel/pinctrl-intel.c:845: warning: Function parameter or member 'community' not described in 'intel_gpio_to_pin' > drivers/pinctrl/intel/pinctrl-intel.c:845: warning: Excess function parameter 'commmunity' description in 'intel_gpio_to_pin' > > Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
On Mon, Aug 20, 2018 at 3:35 PM Andy Shevchenko <andriy.shevchenko@linux.intel.com> wrote: > The parameter 'community' had been spelled incorrectly. > Fix it here. > > As a side effect it satisfies static checkers that issue > the following warnings: > > drivers/pinctrl/intel/pinctrl-intel.c:845: warning: Function parameter or member 'community' not described in 'intel_gpio_to_pin' > drivers/pinctrl/intel/pinctrl-intel.c:845: warning: Excess function parameter 'commmunity' description in 'intel_gpio_to_pin' > > Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Patch applied with Mika's ACK. Yours, Linus Walleij
On Wed, Aug 29, 2018 at 1:51 PM Linus Walleij <linus.walleij@linaro.org> wrote: > > On Mon, Aug 20, 2018 at 3:35 PM Andy Shevchenko > <andriy.shevchenko@linux.intel.com> wrote: > > > The parameter 'community' had been spelled incorrectly. > > Fix it here. > > > > As a side effect it satisfies static checkers that issue > > the following warnings: > > > > drivers/pinctrl/intel/pinctrl-intel.c:845: warning: Function parameter or member 'community' not described in 'intel_gpio_to_pin' > > drivers/pinctrl/intel/pinctrl-intel.c:845: warning: Excess function parameter 'commmunity' description in 'intel_gpio_to_pin' > > > > Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> > > Patch applied with Mika's ACK. I'm deferring the rest of the patches since I see there is discussion. Yours, Linus Walleij
diff --git a/drivers/pinctrl/intel/pinctrl-intel.c b/drivers/pinctrl/intel/pinctrl-intel.c index 62b009b27eda..a356a5b8bab2 100644 --- a/drivers/pinctrl/intel/pinctrl-intel.c +++ b/drivers/pinctrl/intel/pinctrl-intel.c @@ -831,7 +831,7 @@ static const struct gpio_chip intel_gpio_chip = { * intel_gpio_to_pin() - Translate from GPIO offset to pin number * @pctrl: Pinctrl structure * @offset: GPIO offset from gpiolib - * @commmunity: Community is filled here if not %NULL + * @community: Community is filled here if not %NULL * @padgrp: Pad group is filled here if not %NULL * * When coming through gpiolib irqchip, the GPIO offset is not
The parameter 'community' had been spelled incorrectly. Fix it here. As a side effect it satisfies static checkers that issue the following warnings: drivers/pinctrl/intel/pinctrl-intel.c:845: warning: Function parameter or member 'community' not described in 'intel_gpio_to_pin' drivers/pinctrl/intel/pinctrl-intel.c:845: warning: Excess function parameter 'commmunity' description in 'intel_gpio_to_pin' Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> --- drivers/pinctrl/intel/pinctrl-intel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)