]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/video/backlight/adp8870_bl.c: fix error return code in adp8870_led_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Tue, 26 Mar 2013 23:25:03 +0000 (10:25 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 2 Apr 2013 07:29:22 +0000 (18:29 +1100)
commit9851c7cb372a2ce3133825f61a44e8295e721d42
tree406e11a881cc0751e4e849f1314155a2b3eefe90
parent896258bff16437ba18bcd0ed979b96a78e6dee71
drivers/video/backlight/adp8870_bl.c: fix error return code in adp8870_led_probe()

Fix to return a negative error code from the error handling
case instead of 0, as returned elsewhere in this function.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/video/backlight/adp8870_bl.c