diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2017-05-23 20:03:22 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2017-05-29 11:20:52 +0200 |
commit | 2eca25af05481c7e462cbc077328e0eb3394d06b (patch) | |
tree | 216b00f513991cdfd73a13fef2b07bc41231648d /fs/ext4/acl.h | |
parent | ed7fcf1ed5ea4ea01243995ae085757a77cf0f3e (diff) |
gpio: acpi: Factor out acpi_gpio_to_gpiod_flags() helper
The helper function acpi_gpio_to_gpiod_flags() will be used later to configure
pin properly whenever it's requested.
While here, introduce a checking error code returned by gpiod_configure_flags()
and bail out if it's not okay.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Tested-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'fs/ext4/acl.h')
0 files changed, 0 insertions, 0 deletions