diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2017-02-20 19:15:49 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2017-03-16 23:52:12 +0300 |
commit | c5097538c86a60c655f7fac33dfd565d22909dae (patch) | |
tree | 1c62c287270755afe48876feff86ec951340d989 /drivers/leds/leds-hp6xx.c | |
parent | 562e7a4032d1ff33e283d7ba1d5f10fe7ea96669 (diff) | |
download | linux-c5097538c86a60c655f7fac33dfd565d22909dae.tar.xz |
Input: soc_button_array - Propagate error from gpiod_count()
Since gpiod_count() does not return 0 anymore, we don't need to shadow
its error code and would safely propagate to the user.
While here, replace second parameter by NULL in order to prevent side
effects on _DSD enabled firmware.
Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/leds/leds-hp6xx.c')
0 files changed, 0 insertions, 0 deletions