aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt2sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorJean Delvare <[email protected]>2013-03-05 09:06:58 +0100
committerLinus Walleij <[email protected]>2013-03-27 09:08:57 +0100
commit2ab3a749eb14c96eaf453afe6e678c9c1dab1637 (patch)
tree49f438a8d6e4107f4f061d3bc23a43b3a099d8f8 /drivers/scsi/mpt2sas/mpi/mpi2_raid.h
parenta937536b868b8369b98967929045f1df54234323 (diff)
gpio-ich: Fix value returned by ichx_gpio_request
Per Documentation/gpio.txt, gpio_request callbacks should return 0 on success or a negative value on error. So it is not clear what was meant by letting ichx_gpio_request return 1 in some cases, nor how a caller would interpret it. Align the code with the comment above it and consider pins as available by default. Signed-off-by: Jean Delvare <[email protected]> Cc: Grant Likely <[email protected]> Acked-by: Peter Tyser <[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