Skip to content
Commit 514f920a authored by Wei Yongjun's avatar Wei Yongjun Committed by Linus Torvalds
Browse files

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: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: default avatarJingoo Han <jg1.han@samsung.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 84eba9ed
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment