lkml.org 
[lkml]   [2013]   [Jun]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH] Fix comment on pinctrl_gpio_range.pin_base
    Date
    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>
    ---
    include/linux/pinctrl/pinctrl.h | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/include/linux/pinctrl/pinctrl.h b/include/linux/pinctrl/pinctrl.h
    index 286c5e5..47ab2fb 100644
    --- a/include/linux/pinctrl/pinctrl.h
    +++ b/include/linux/pinctrl/pinctrl.h
    @@ -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
    --
    1.7.1


    \
     
     \ /
      Last update: 2013-06-14 10:41    [W:4.201 / U:0.400 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site