summaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-pm8058.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/leds/leds-pm8058.c')
-rw-r--r--drivers/leds/leds-pm8058.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/leds/leds-pm8058.c b/drivers/leds/leds-pm8058.c
index 5247b04abb7e..fb2ab72c0c40 100644
--- a/drivers/leds/leds-pm8058.c
+++ b/drivers/leds/leds-pm8058.c
@@ -117,8 +117,6 @@ static int pm8058_led_probe(struct platform_device *pdev)
return -EINVAL;
}
- led->cdev.default_trigger =
- of_get_property(np, "linux,default-trigger", NULL);
led->cdev.brightness_set = pm8058_led_set;
led->cdev.brightness_get = pm8058_led_get;
if (led->ledtype == PM8058_LED_TYPE_COMMON)