diff options
author | Jingoo Han <jg1.han@samsung.com> | 2012-10-23 14:24:33 +0200 |
---|---|---|
committer | Bryan Wu <cooloney@gmail.com> | 2012-11-26 23:28:47 +0100 |
commit | 7517611a4c301a362d3e3d4f7357881ea3db5385 (patch) | |
tree | 20f992adf45035a947d32c11e1b39d797cb7e449 /drivers/leds/leds-netxbig.c | |
parent | leds: leds-bd2802: replace strict_strtoul() with kstrtoul() (diff) | |
download | linux-7517611a4c301a362d3e3d4f7357881ea3db5385.tar.xz linux-7517611a4c301a362d3e3d4f7357881ea3db5385.zip |
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; |