diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2017-01-03 18:01:18 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2017-01-11 12:09:36 +0100 |
commit | e567c35f4909b6e752f63412ed6038c4d9aa9ede (patch) | |
tree | e3d8fceaac555b7890a365c6acc430926f7fface /drivers/gpio/gpiolib.h | |
parent | gpiolib: Switch to for_each_set_bit() (diff) | |
download | linux-e567c35f4909b6e752f63412ed6038c4d9aa9ede.tar.xz linux-e567c35f4909b6e752f63412ed6038c4d9aa9ede.zip |
gpiolib: Update documentation of struct acpi_gpio_info
It seems the code had been changed, but description left untouched.
Update description of the struct acpi_gpio_info and relative comments
accordingly.
Fixes: commit 52044723cd27 ("ACPI / gpio: Add irq_type when a GPIO is used as an interrupt")
Cc: Christophe RICARD <christophe.ricard@gmail.com>
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>
Diffstat (limited to 'drivers/gpio/gpiolib.h')
-rw-r--r-- | drivers/gpio/gpiolib.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpio/gpiolib.h b/drivers/gpio/gpiolib.h index d10eaf520860..2495b7ee1b42 100644 --- a/drivers/gpio/gpiolib.h +++ b/drivers/gpio/gpiolib.h @@ -76,7 +76,8 @@ struct gpio_device { /** * struct acpi_gpio_info - ACPI GPIO specific information * @gpioint: if %true this GPIO is of type GpioInt otherwise type is GpioIo - * @active_low: in case of @gpioint, the pin is active low + * @polarity: interrupt polarity as provided by ACPI + * @triggering: triggering type as provided by ACPI */ struct acpi_gpio_info { bool gpioint; |