diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2019-04-10 18:39:16 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2019-04-23 11:55:07 +0300 |
commit | fed7026adc7c3a67f992d28d7a5309ff749d3776 (patch) | |
tree | 2faf940f9ccc34da39f71fb3209a692d49f13d0d /security/Makefile | |
parent | 4050586b2beec8603d25ad7fc7ba15670143e6ba (diff) | |
download | linux-fed7026adc7c3a67f992d28d7a5309ff749d3776.tar.xz |
gpiolib: Make use of enum gpio_lookup_flags consistent
The library uses enum gpio_lookup_flags to define the possible
characteristics of GPIO pin. Since enumerator listed only individual
bits the common use of it is in a form of a bitmask of
gpio_lookup_flags GPIO_* values. The more correct type for this is
unsigned long.
Due to above convert all users to use unsigned long instead of
enum gpio_lookup_flags except enumerator definition.
While here, make field and parameter descriptions consistent as well.
Suggested-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'security/Makefile')
0 files changed, 0 insertions, 0 deletions