Skip to content

Commit

Permalink
dell-laptop: fix to return error code in dell_send_intensity()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Wei Yongjun authored and Matthew Garrett committed Jan 21, 2014
1 parent ec513b1 commit 7da8fb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/platform/x86/dell-laptop.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7da8fb2

Please sign in to comment.