Commit 3ea4ccd0 authored by Masanari Iida's avatar Masanari Iida Committed by Tomi Valkeinen

video: fbdev: Fix format string mismatch in wm8505fb.c

Fix format string mismatch in contrast_show().
Signed-off-by: default avatarMasanari Iida <standby24x7@gmail.com>
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent e6853aaf
...@@ -162,7 +162,7 @@ static ssize_t contrast_show(struct device *dev, ...@@ -162,7 +162,7 @@ static ssize_t contrast_show(struct device *dev,
struct fb_info *info = dev_get_drvdata(dev); struct fb_info *info = dev_get_drvdata(dev);
struct wm8505fb_info *fbi = to_wm8505fb_info(info); 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, static ssize_t contrast_store(struct device *dev,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment