]> asedeno.scripts.mit.edu Git - linux.git/commit
gpiolib: acpi: Change type of dflags
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 10 Apr 2019 15:39:18 +0000 (18:39 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 23 Apr 2019 08:55:14 +0000 (10:55 +0200)
commit80c8d927dacc436963af7c0da711578e8c122db8
treea5e370a12909b082903c2e3c2a5a6a84d0ddb54d
parent2d6c06f5a4094ab4ea15b63af72d2dab74e9415a
gpiolib: acpi: Change type of dflags

Most of the code inside GPIO library is using enum gpiod_flags.
Some of the function still operate with unsigned int.

In order to be more consistent and better type checking, convert
acpi_gpiochip_parse_own_gpio() to use enum gpiod_flags instead of
unsigned int.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib-acpi.c