projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2702b15
)
drivers/video/backlight/lm3639_bl.c: return proper error in lm3639_bled_mode_store...
author
Axel Lin
<axel.lin@ingics.com>
Fri, 19 Oct 2012 20:56:52 +0000
(13:56 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Fri, 19 Oct 2012 21:07:47 +0000
(14:07 -0700)
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/backlight/lm3639_bl.c
patch
|
blob
|
history
diff --git
a/drivers/video/backlight/lm3639_bl.c
b/drivers/video/backlight/lm3639_bl.c
index c6915c6c3cd1e5fc3941a8a3e6fe242fa9db0310..585949b570550fd5e681b23a2564f8f65eb8f83a 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
;
}