mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-06 06:37:59 +00:00
dell-laptop: fix to return error code in dell_send_intensity()
Fix to return error code instead always return 0 from function dell_send_intensity(). Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
This commit is contained in:
parent
ec513b16c4
commit
7da8fb27ef
1 changed files with 1 additions and 1 deletions
|
@ -684,7 +684,7 @@ static int dell_send_intensity(struct backlight_device *bd)
|
|||
|
||||
out:
|
||||
release_buffer();
|
||||
return 0;
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int dell_get_intensity(struct backlight_device *bd)
|
||||
|
|
Loading…
Add table
Reference in a new issue