提交 3ea4ccd0 编写于 作者: M Masanari Iida 提交者: Tomi Valkeinen

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

Fix format string mismatch in contrast_show().
Signed-off-by: NMasanari Iida <standby24x7@gmail.com>
Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
上级 e6853aaf
......@@ -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,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册