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>
This commit is contained in:
Родитель
513199368a
Коммит
39a6ec28bd
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче