]> 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>
Thu, 4 Apr 2013 06:12:28 +0000 (17:12 +1100)
commit3526cb0d2327aec932887a8c9812405f5ad58de2
tree9a130a6672916c1fe0ee6f553e7c0f8c15806664
parente3164d4831a9a8bb1c85c25637be07d83b23747e
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