diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2013-11-23 14:02:51 +0100 |
---|---|---|
committer | Matthew Garrett <matthew.garrett@nebula.com> | 2014-01-21 14:43:54 +0100 |
commit | 7da8fb27eff04e7283d24b0e483c300c8b1a9f5c (patch) | |
tree | 65cbd66f5016f9b89c464bf266e2b9613722db8c /drivers/platform/x86/dell-laptop.c | |
parent | Merge tag 'usb-3.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gre... (diff) | |
download | linux-7da8fb27eff04e7283d24b0e483c300c8b1a9f5c.tar.xz linux-7da8fb27eff04e7283d24b0e483c300c8b1a9f5c.zip |
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>
Diffstat (limited to 'drivers/platform/x86/dell-laptop.c')
-rw-r--r-- | drivers/platform/x86/dell-laptop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/dell-laptop.c b/drivers/platform/x86/dell-laptop.c index c608b1d33f4a..9d7d6a02ae07 100644 --- a/drivers/platform/x86/dell-laptop.c +++ b/drivers/platform/x86/dell-laptop.c @@ -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) |