diff options
author | Masanari Iida <standby24x7@gmail.com> | 2014-04-24 17:47:16 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-05-07 12:12:51 +0200 |
commit | 39a6ec28bdc1385d29d9cbd4a9b385230b3cc755 (patch) | |
tree | c3e0867b8c2f312441422802b7c02f04f698142d /drivers/video/backlight | |
parent | video/backlight: LP8788 needs PWM (diff) | |
download | linux-39a6ec28bdc1385d29d9cbd4a9b385230b3cc755.tar.xz linux-39a6ec28bdc1385d29d9cbd4a9b385230b3cc755.zip |
video/backlight: s6e63m0: Fix string type mismatch
Fix string type mismatch in s6e63m0_sysfs_show_gamma_table().
gamma_table_count is defined as unsigned int.
Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Acked-by: Bryan Wu <cooloney@gmail.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/video/backlight')
-rw-r--r-- | drivers/video/backlight/s6e63m0.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/backlight/s6e63m0.c b/drivers/video/backlight/s6e63m0.c index 510a1bcf76f1..2d6d48196c6d 100644 --- a/drivers/video/backlight/s6e63m0.c +++ b/drivers/video/backlight/s6e63m0.c @@ -703,7 +703,7 @@ static ssize_t s6e63m0_sysfs_show_gamma_table(struct device *dev, struct s6e63m0 *lcd = dev_get_drvdata(dev); char temp[3]; - sprintf(temp, "%d\n", lcd->gamma_table_count); + sprintf(temp, "%u\n", lcd->gamma_table_count); strcpy(buf, temp); return strlen(buf); |