提交 7da8fb27 编写于 作者: W Wei Yongjun 提交者: Matthew Garrett

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: NWei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: NMatthew Garrett <matthew.garrett@nebula.com>
上级 ec513b16
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册