commit | bafa687dccbe16cbf9b1824409836d79d6dc6543 | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Thu Feb 23 12:31:54 2017 +0200 |
committer | Chanwoo Choi <cw00.choi@samsung.com> | Mon Mar 13 12:39:30 2017 +0900 |
tree | b4d70ab2ac488937f435204731848d11c24e38e9 | |
parent | 4495c08e84729385774601b5146d51d9e5849f81 [diff] |
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>