diff options
-rw-r--r-- | drivers/leds/ledtrig-gpio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/leds/ledtrig-gpio.c b/drivers/leds/ledtrig-gpio.c index ba215dc42f98..72e3ebfc281f 100644 --- a/drivers/leds/ledtrig-gpio.c +++ b/drivers/leds/ledtrig-gpio.c | |||
@@ -110,7 +110,7 @@ static ssize_t gpio_trig_inverted_store(struct device *dev, | |||
110 | unsigned long inverted; | 110 | unsigned long inverted; |
111 | int ret; | 111 | int ret; |
112 | 112 | ||
113 | ret = strict_strtoul(buf, 10, &inverted); | 113 | ret = kstrtoul(buf, 10, &inverted); |
114 | if (ret < 0) | 114 | if (ret < 0) |
115 | return ret; | 115 | return ret; |
116 | 116 | ||