LEDS: propagate error codes in blinkm_detect()
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 26 Jul 2012 08:00:25 +0000 (16:00 +0800)
committerBryan Wu <bryan.wu@canonical.com>
Fri, 27 Jul 2012 00:15:09 +0000 (08:15 +0800)
commit18d4a06f9bb013737b9c21921b15033afb0198d9
tree1f22e656208dea8d75153f9b1d7ee9f82a0f80a6
parent4d8729a139782d4facc98b7bd7d87c7d10c128b0
LEDS: propagate error codes in blinkm_detect()

Use the error codes from the lower levels instead of -ENODEV.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Jan-Simon Möller <jansimon.moeller@gmx.de>
Signed-off-by: Bryan Wu <bryan.wu@canonical.com>
drivers/leds/leds-blinkm.c