diff options
author | Masanari Iida | 2014-04-29 21:21:54 +0900 |
---|---|---|
committer | Tomi Valkeinen | 2014-04-30 11:24:40 +0300 |
commit | 3ea4ccd004c669b3c1f8241976985ec8c1edaa33 (patch) | |
tree | b36ae02af615647ad9b01c6f054fa39bea3816a8 /drivers/video/fbdev/wm8505fb.c | |
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>
Diffstat (limited to 'drivers/video/fbdev/wm8505fb.c')
-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, 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, |