diff options
| author | Jingoo Han <[email protected]> | 2012-12-18 00:01:10 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2012-12-18 01:15:17 +0000 |
| commit | 424e06e3da2cbf986d7421f98b90fe5cf4b57be5 (patch) | |
| tree | 7e4ef6b9bb8762398df72b1fae7c539a9d2003f7 /lib/dynamic_debug.c | |
| parent | backlight: 88pm860x_bl: remove an unnecessary line continuation (diff) | |
| download | kernel-424e06e3da2cbf986d7421f98b90fe5cf4b57be5.tar.gz kernel-424e06e3da2cbf986d7421f98b90fe5cf4b57be5.zip | |
drivers/video/backlight/lcd.c: return ENXIO when ops functions cannot be called
Previously, when ops functions cannot be called, lcd_show_contrast() and
lcd_store_contrast() returned 0, instead of ENXIO.
Thus, in this case, a local variable 'rc' for return value should be
initialized as ENXIO, after kstrtoul() is called.
Signed-off-by: Jingoo Han <[email protected]>
Cc: Richard Purdie <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions
