diff options
| author | Andy Shevchenko <[email protected]> | 2017-05-23 20:03:22 +0300 |
|---|---|---|
| committer | Linus Walleij <[email protected]> | 2017-05-29 11:20:52 +0200 |
| commit | 2eca25af05481c7e462cbc077328e0eb3394d06b (patch) | |
| tree | 216b00f513991cdfd73a13fef2b07bc41231648d /scripts/gcc-plugins | |
| 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 <[email protected]>
Tested-by: Jarkko Nikula <[email protected]>
Reviewed-by: Mika Westerberg <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins')
0 files changed, 0 insertions, 0 deletions