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)
commitcca0ba2df3d4000bacd9b7807d46ffafac62d53a
treec5aec01b81c2a18ab40cdcd8cc71eb9e8b5aba00
parentcdaefccefa988495e732d85d81914fbba99f4ca6
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