aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2017-02-23 12:31:54 +0200
committerChanwoo Choi <[email protected]>2017-03-13 12:39:30 +0900
commitbafa687dccbe16cbf9b1824409836d79d6dc6543 (patch)
treeb4d70ab2ac488937f435204731848d11c24e38e9 /lib/memory-notifier-error-inject.c
parent4495c08e84729385774601b5146d51d9e5849f81 (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 <[email protected]> Signed-off-by: Chanwoo Choi <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions