diff options
author | Jingoo Han <jg1.han@samsung.com> | 2012-10-23 05:26:56 -0700 |
---|---|---|
committer | Bryan Wu <cooloney@gmail.com> | 2012-11-26 14:28:48 -0800 |
commit | 75253b3cff98674d6bf98071b7bce78ae6315a9d (patch) | |
tree | 8c92d94ab6a1ce22a18061a88ac9e0359c3a43a5 /drivers/leds/ledtrig-backlight.c | |
parent | d3b6492afada275d2e33b81a8a3737c9cb0016a4 (diff) |
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/leds/ledtrig-backlight.c')
-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 b941685f2227..c74aff1fe70b 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; |