]> git.baikalelectronics.ru Git - kernel.git/commit
backlight: Change the return type of backlight_update_status() to int
authorHyungwon Hwang <human.hwang@samsung.com>
Thu, 28 May 2015 07:25:15 +0000 (16:25 +0900)
committerLee Jones <lee.jones@linaro.org>
Tue, 23 Jun 2015 14:47:35 +0000 (15:47 +0100)
commitf0be8f6cfc97e68345e88122267d49a718f51d8d
treec5aec01b81c2a18ab40cdcd8cc71eb9e8b5aba00
parent7c84ca4cc00a2d5b4ecc795b04e2ba0fa5e2a7c5
backlight: Change the return type of backlight_update_status() to int

Backlight device returns the result of update_status(), but
backlight_update_status() ignores it. So the consumers cannot confirm the
result of their function call. This patch makes the result to be returned
back for consumers.

Signed-off-by: Hyungwon Hwang <human.hwang@samsung.com>
Acked-by: Jingoo Han <jingoohan1@gmail.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
include/linux/backlight.h