commit | 809567905b5f10f73828b3fab3024bfaaf967f32 | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Mon Jul 09 21:47:21 2018 +0300 |
committer | Linus Walleij <linus.walleij@linaro.org> | Fri Jul 13 09:01:46 2018 +0200 |
tree | 3f48fdf55d107dd1e6c5c27545987c291a10dfb9 | |
parent | b23ec59926faf05b0c43680d05671c484e810ac4 [diff] |
gpiolib: Consistent use of ->get_direction() inside gpiolib Two out of three calls to ->get_direction (excluding, of course, gpiod_get_direction() itself) are using gpiod_get_direction() and one is still open coded. Replace the latter one to use same API for sake of consistency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>