diff options
author | Axel Lin <[email protected]> | 2013-05-19 13:58:37 +0800 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2013-05-27 15:37:08 +0200 |
commit | 97fc463769f1564e8eda2e2f70d3b6e92a25ff16 (patch) | |
tree | f1ee749b141b7055f9995afa506c83539bc6382e /drivers/scsi/mpt2sas/mpi/mpi2_raid.h | |
parent | b134dc3feaa5136b376c7d2658bbe156bea19e63 (diff) |
pinctrl: Don't override the error code in probe error handling
Otherwise, we return 0 in probe error paths when gpiochip_remove() returns 0.
Also show error message if gpiochip_remove() fails.
Signed-off-by: Axel Lin <[email protected]>
Acked-by: Tony Prisk <[email protected]>
Acked-by: Maxime Ripard <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions