diff options
author | Masanari Iida <standby24x7@gmail.com> | 2014-04-29 08:21:54 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2014-04-30 04:24:40 -0400 |
commit | 3ea4ccd004c669b3c1f8241976985ec8c1edaa33 (patch) | |
tree | b36ae02af615647ad9b01c6f054fa39bea3816a8 | |
parent | e6853aafd4339dbf2992957ff2616ef7164bc9d4 (diff) |
video: fbdev: Fix format string mismatch in wm8505fb.c
Fix format string mismatch in contrast_show().
Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
-rw-r--r-- | drivers/video/fbdev/wm8505fb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/wm8505fb.c b/drivers/video/fbdev/wm8505fb.c index 537d199612af..d2fafbbcd7f8 100644 --- a/drivers/video/fbdev/wm8505fb.c +++ b/drivers/video/fbdev/wm8505fb.c | |||
@@ -162,7 +162,7 @@ static ssize_t contrast_show(struct device *dev, | |||
162 | struct fb_info *info = dev_get_drvdata(dev); | 162 | struct fb_info *info = dev_get_drvdata(dev); |
163 | struct wm8505fb_info *fbi = to_wm8505fb_info(info); | 163 | struct wm8505fb_info *fbi = to_wm8505fb_info(info); |
164 | 164 | ||
165 | return sprintf(buf, "%d\n", fbi->contrast); | 165 | return sprintf(buf, "%u\n", fbi->contrast); |
166 | } | 166 | } |
167 | 167 | ||
168 | static ssize_t contrast_store(struct device *dev, | 168 | static ssize_t contrast_store(struct device *dev, |