projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6853aa
)
video: fbdev: Fix format string mismatch in wm8505fb.c
author
Masanari Iida
<standby24x7@gmail.com>
Tue, 29 Apr 2014 12:21:54 +0000
(21:21 +0900)
committer
Tomi Valkeinen
<tomi.valkeinen@ti.com>
Wed, 30 Apr 2014 08:24:40 +0000
(11:24 +0300)
Fix format string mismatch in contrast_show().
Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbdev/wm8505fb.c
patch
|
blob
|
history
diff --git
a/drivers/video/fbdev/wm8505fb.c
b/drivers/video/fbdev/wm8505fb.c
index
537d199
..
d2fafbb
100644
(file)
--- a/
drivers/video/fbdev/wm8505fb.c
+++ b/
drivers/video/fbdev/wm8505fb.c
@@
-162,7
+162,7
@@
static ssize_t contrast_show(struct device *dev,
struct fb_info *info = dev_get_drvdata(dev);
struct wm8505fb_info *fbi = to_wm8505fb_info(info);
- return sprintf(buf, "%
d
\n", fbi->contrast);
+ return sprintf(buf, "%
u
\n", fbi->contrast);
}
static ssize_t contrast_store(struct device *dev,