aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/leds
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/leds')
-rw-r--r--drivers/leds/leds-lp5521.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/leds/leds-lp5521.c b/drivers/leds/leds-lp5521.c
index 2064aefedc07..362e29e27db9 100644
--- a/drivers/leds/leds-lp5521.c
+++ b/drivers/leds/leds-lp5521.c
@@ -616,7 +616,7 @@ static ssize_t store_led_pattern(struct device *dev,
616 unsigned long val; 616 unsigned long val;
617 int ret; 617 int ret;
618 618
619 ret = strict_strtoul(buf, 16, &val); 619 ret = kstrtoul(buf, 16, &val);
620 if (ret) 620 if (ret)
621 return ret; 621 return ret;
622 622