summaryrefslogtreecommitdiff
path: root/drivers/extcon/extcon-sm5502.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2017-02-23 13:31:54 +0300
committerChanwoo Choi <cw00.choi@samsung.com>2017-03-13 06:39:30 +0300
commitbafa687dccbe16cbf9b1824409836d79d6dc6543 (patch)
treeb4d70ab2ac488937f435204731848d11c24e38e9 /drivers/extcon/extcon-sm5502.c
parent4495c08e84729385774601b5146d51d9e5849f81 (diff)
downloadlinux-bafa687dccbe16cbf9b1824409836d79d6dc6543.tar.xz
extcon: int3496: Propagate error code of gpiod_to_irq()
gpiod_to_irq() doesn't return 0. Thus, we just adjust condition and replace -EINVAL by actual error code it returns. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'drivers/extcon/extcon-sm5502.c')
0 files changed, 0 insertions, 0 deletions