pinctrl: intel: Fix a spelling typo in kernel documentation
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 26 Sep 2018 14:43:17 +0000 (17:43 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 3 Oct 2018 07:05:35 +0000 (09:05 +0200)
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>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/intel/pinctrl-intel.c

index c40124559bd477fe2b84a22b945c8c2465c7ce50..8cda7b535b025ddde70b7d628cf8f2e07761306c 100644 (file)
@@ -754,7 +754,7 @@ static const struct pinctrl_desc intel_pinctrl_desc = {
  * 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