diff options
| author | Andy Shevchenko <[email protected]> | 2017-02-23 10:31:54 +0000 |
|---|---|---|
| committer | Chanwoo Choi <[email protected]> | 2017-03-13 03:39:30 +0000 |
| commit | bafa687dccbe16cbf9b1824409836d79d6dc6543 (patch) | |
| tree | b4d70ab2ac488937f435204731848d11c24e38e9 /drivers/fpga/xilinx-spi.c | |
| parent | Linux 4.11-rc2 (diff) | |
| download | kernel-bafa687dccbe16cbf9b1824409836d79d6dc6543.tar.gz kernel-bafa687dccbe16cbf9b1824409836d79d6dc6543.zip | |
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 <[email protected]>
Signed-off-by: Chanwoo Choi <[email protected]>
Diffstat (limited to 'drivers/fpga/xilinx-spi.c')
0 files changed, 0 insertions, 0 deletions
