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/omap2 | |
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/omap2')
-rw-r--r-- | drivers/video/omap2/displays/panel-taal.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/video/omap2/displays/panel-taal.c b/drivers/video/omap2/displays/panel-taal.c index c4f78bda115a..52541f264021 100644 --- a/drivers/video/omap2/displays/panel-taal.c +++ b/drivers/video/omap2/displays/panel-taal.c | |||
@@ -573,7 +573,7 @@ static ssize_t taal_store_esd_interval(struct device *dev, | |||
573 | unsigned long t; | 573 | unsigned long t; |
574 | int r; | 574 | int r; |
575 | 575 | ||
576 | r = strict_strtoul(buf, 10, &t); | 576 | r = kstrtoul(buf, 10, &t); |
577 | if (r) | 577 | if (r) |
578 | return r; | 578 | return r; |
579 | 579 | ||
@@ -611,7 +611,7 @@ static ssize_t taal_store_ulps(struct device *dev, | |||
611 | unsigned long t; | 611 | unsigned long t; |
612 | int r; | 612 | int r; |
613 | 613 | ||
614 | r = strict_strtoul(buf, 10, &t); | 614 | r = kstrtoul(buf, 10, &t); |
615 | if (r) | 615 | if (r) |
616 | return r; | 616 | return r; |
617 | 617 | ||
@@ -660,7 +660,7 @@ static ssize_t taal_store_ulps_timeout(struct device *dev, | |||
660 | unsigned long t; | 660 | unsigned long t; |
661 | int r; | 661 | int r; |
662 | 662 | ||
663 | r = strict_strtoul(buf, 10, &t); | 663 | r = kstrtoul(buf, 10, &t); |
664 | if (r) | 664 | if (r) |
665 | return r; | 665 | return r; |
666 | 666 | ||