diff options
author | Jingoo Han <jg1.han@samsung.com> | 2012-10-23 05:24:33 -0700 |
---|---|---|
committer | Bryan Wu <cooloney@gmail.com> | 2012-11-26 14:28:47 -0800 |
commit | 7517611a4c301a362d3e3d4f7357881ea3db5385 (patch) | |
tree | 20f992adf45035a947d32c11e1b39d797cb7e449 /drivers/leds/leds-netxbig.c | |
parent | fd80fc762c58411d5e64836dd778052df0f99d4e (diff) | |
download | linux-7517611a4c301a362d3e3d4f7357881ea3db5385.tar.bz2 |
leds: leds-netxbig: 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/leds-netxbig.c')
-rw-r--r-- | drivers/leds/leds-netxbig.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/leds/leds-netxbig.c b/drivers/leds/leds-netxbig.c index 461bbf9b33fa..c4b482b8f7da 100644 --- a/drivers/leds/leds-netxbig.c +++ b/drivers/leds/leds-netxbig.c @@ -243,7 +243,7 @@ static ssize_t netxbig_led_sata_store(struct device *dev, int mode_val; int ret; - ret = strict_strtoul(buff, 10, &enable); + ret = kstrtoul(buff, 10, &enable); if (ret < 0) return ret; |