diff options
| author | Brian Masney <masneyb@onstation.org> | 2019-04-24 05:25:03 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-01-29 10:21:44 +0100 |
| commit | a5dad3ac3c5722b8f31c05cf72297ba19998309b (patch) | |
| tree | f7f9cedbc81c528c8d25ca6eaae88ee902a9953e /scripts/stackusage | |
| parent | bfe9388e57f525d10a556ac476f55a4143f68413 (diff) | |
backlight: lm3630a: Return 0 on success in update_status functions
[ Upstream commit d3f48ec0954c6aac736ab21c34a35d7554409112 ]
lm3630a_bank_a_update_status() and lm3630a_bank_b_update_status()
both return the brightness value if the brightness was successfully
updated. Writing to these attributes via sysfs would cause a 'Bad
address' error to be returned. These functions should return 0 on
success, so let's change it to correct that error.
Fixes: 28e64a68a2ef ("backlight: lm3630: apply chip revision")
Signed-off-by: Brian Masney <masneyb@onstation.org>
Acked-by: Pavel Machek <pavel@ucw.cz>
Acked-by: Daniel Thompson <daniel.thompson@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
