summaryrefslogtreecommitdiffstats
path: root/drivers/leds/ledtrig-oneshot.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/leds/ledtrig-oneshot.c')
-rw-r--r--drivers/leds/ledtrig-oneshot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/leds/ledtrig-oneshot.c b/drivers/leds/ledtrig-oneshot.c
index 5c9edf7f489c..5cbab41a8da2 100644
--- a/drivers/leds/ledtrig-oneshot.c
+++ b/drivers/leds/ledtrig-oneshot.c
@@ -63,9 +63,9 @@ static ssize_t led_invert_store(struct device *dev,
oneshot_data->invert = !!state;
if (oneshot_data->invert)
- led_set_brightness(led_cdev, LED_FULL);
+ __led_set_brightness(led_cdev, LED_FULL);
else
- led_set_brightness(led_cdev, LED_OFF);
+ __led_set_brightness(led_cdev, LED_OFF);
return size;
}