diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-06-01 03:31:21 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-06-26 08:19:48 -0400 |
commit | f5725af59c7dfd00809eb08ad5602b1fba58bc0f (patch) | |
tree | 40fac06873b255a6dd4ca6cf9e73d0a1462c60c1 /drivers/video/wm8505fb.c | |
parent | e0f3aab9105a42fa5e111a7d988b25937833a727 (diff) |
video: replace strict_strtoul() with kstrtoul()
The usage of strict_strtoul() is not preferred, because
strict_strtoul() is obsolete. Thus, kstrtoul() should be
used.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/wm8505fb.c')
-rw-r--r-- | drivers/video/wm8505fb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/wm8505fb.c b/drivers/video/wm8505fb.c index 01f9ace068e2..3072f30cad19 100644 --- a/drivers/video/wm8505fb.c +++ b/drivers/video/wm8505fb.c | |||
@@ -173,7 +173,7 @@ static ssize_t contrast_store(struct device *dev, | |||
173 | struct wm8505fb_info *fbi = to_wm8505fb_info(info); | 173 | struct wm8505fb_info *fbi = to_wm8505fb_info(info); |
174 | unsigned long tmp; | 174 | unsigned long tmp; |
175 | 175 | ||
176 | if (strict_strtoul(buf, 10, &tmp) || (tmp > 0xff)) | 176 | if (kstrtoul(buf, 10, &tmp) || (tmp > 0xff)) |
177 | return -EINVAL; | 177 | return -EINVAL; |
178 | fbi->contrast = tmp; | 178 | fbi->contrast = tmp; |
179 | 179 | ||