]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/video/backlight/adp8870_bl.c: fix error return code in adp8870_led_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Mon, 29 Apr 2013 23:17:54 +0000 (16:17 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 30 Apr 2013 01:28:17 +0000 (18:28 -0700)
commitfa0f5896a9b83d03856f3f9c2ed7323b07250d0b
tree720af9879f56490f407ae057712acaba16ffca58
parentf70fab5c184944843eb3213af26439e96d98e088
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 zero, 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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/backlight/adp8870_bl.c