projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drivers/video/backlight/lm3639_bl.c: return proper error in lm3639_bled_mode_store...
[platform/adaptation/renesas_rcar/renesas_kernel.git]
/
drivers
/
video
/
backlight
/
lm3639_bl.c
diff --git
a/drivers/video/backlight/lm3639_bl.c
b/drivers/video/backlight/lm3639_bl.c
index
c6915c6
..
585949b
100644
(file)
--- a/
drivers/video/backlight/lm3639_bl.c
+++ b/
drivers/video/backlight/lm3639_bl.c
@@
-206,11
+206,11
@@
static ssize_t lm3639_bled_mode_store(struct device *dev,
out:
dev_err(pchip->dev, "%s:i2c access fail to register\n", __func__);
- return
size
;
+ return
ret
;
out_input:
dev_err(pchip->dev, "%s:input conversion fail\n", __func__);
- return
size
;
+ return
ret
;
}