diff options
| author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2013-11-23 08:02:51 -0500 |
|---|---|---|
| committer | Matthew Garrett <matthew.garrett@nebula.com> | 2014-01-21 08:43:54 -0500 |
| commit | 7da8fb27eff04e7283d24b0e483c300c8b1a9f5c (patch) | |
| tree | 65cbd66f5016f9b89c464bf266e2b9613722db8c /drivers/platform/x86 | |
| parent | ec513b16c480c6cdda1e3d597e611eafca05227b (diff) | |
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')
| -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) | |||
| 684 | 684 | ||
| 685 | out: | 685 | out: |
| 686 | release_buffer(); | 686 | release_buffer(); |
| 687 | return 0; | 687 | return ret; |
| 688 | } | 688 | } |
| 689 | 689 | ||
| 690 | static int dell_get_intensity(struct backlight_device *bd) | 690 | static int dell_get_intensity(struct backlight_device *bd) |
