summaryrefslogtreecommitdiffstats
path: root/drivers/video/wm8505fb.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-06-01 16:31:21 +0900
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-06-26 15:19:48 +0300
commitf5725af59c7dfd00809eb08ad5602b1fba58bc0f (patch)
tree40fac06873b255a6dd4ca6cf9e73d0a1462c60c1 /drivers/video/wm8505fb.c
parente0f3aab9105a42fa5e111a7d988b25937833a727 (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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/wm8505fb.c b/drivers/video/wm8505fb.c
index 01f9ace068e..3072f30cad1 100644
--- a/drivers/video/wm8505fb.c
+++ b/drivers/video/wm8505fb.c
@@ -173,7 +173,7 @@ static ssize_t contrast_store(struct device *dev,
struct wm8505fb_info *fbi = to_wm8505fb_info(info);
unsigned long tmp;
- if (strict_strtoul(buf, 10, &tmp) || (tmp > 0xff))
+ if (kstrtoul(buf, 10, &tmp) || (tmp > 0xff))
return -EINVAL;
fbi->contrast = tmp;