diff options
author | Jingoo Han <jg1.han@samsung.com> | 2012-10-23 12:26:56 (GMT) |
---|---|---|
committer | Bryan Wu <cooloney@gmail.com> | 2012-11-26 22:28:48 (GMT) |
commit | 75253b3cff98674d6bf98071b7bce78ae6315a9d (patch) | |
tree | 8c92d94ab6a1ce22a18061a88ac9e0359c3a43a5 /drivers | |
parent | d3b6492afada275d2e33b81a8a3737c9cb0016a4 (diff) | |
download | linux-fsl-qoriq-75253b3cff98674d6bf98071b7bce78ae6315a9d.tar.xz |
leds: ledtrig-backlight: 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: Bryan Wu <cooloney@gmail.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/leds/ledtrig-backlight.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/leds/ledtrig-backlight.c b/drivers/leds/ledtrig-backlight.c index b941685..c74aff1 100644 --- a/drivers/leds/ledtrig-backlight.c +++ b/drivers/leds/ledtrig-backlight.c @@ -76,7 +76,7 @@ static ssize_t bl_trig_invert_store(struct device *dev, unsigned long invert; int ret; - ret = strict_strtoul(buf, 10, &invert); + ret = kstrtoul(buf, 10, &invert); if (ret < 0) return ret; |