]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
Fix comment on pinctrl_gpio_range.pin_base
authorChristian Ruppert <christian.ruppert@abilis.com>
Fri, 14 Jun 2013 08:24:48 +0000 (10:24 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 17 Jun 2013 16:18:29 +0000 (18:18 +0200)
The comment introduced with the recently added pinctrl_gpio_range.pins
element was wrong. This corrects it.
Thanks to Patrice Chotard for pointing this out.

Signed-off-by: Christian Ruppert <christian.ruppert@abilis.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
include/linux/pinctrl/pinctrl.h

index 176a6c1b4e03b9683b0d12c84490df1baa375b56..5979147d2bda99587e07cc52e1fc4f0f3fd771f0 100644 (file)
@@ -49,7 +49,7 @@ struct pinctrl_pin_desc {
  * @name: a name for the chip in this range
  * @id: an ID number for the chip in this range
  * @base: base offset of the GPIO range
- * @pin_base: base pin number of the GPIO range if pins != NULL
+ * @pin_base: base pin number of the GPIO range if pins == NULL
  * @pins: enumeration of pins in GPIO range or NULL
  * @npins: number of pins in the GPIO range, including the base number
  * @gc: an optional pointer to a gpio_chip