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>
This commit is contained in:
Masanari Iida 2014-04-29 21:21:54 +09:00 committed by Tomi Valkeinen
parent e6853aafd4
commit 3ea4ccd004
1 changed files with 1 additions and 1 deletions

View File

@ -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,