Skip to content

Commit

Permalink
drivers: led: fix LED PWM driver
Browse files Browse the repository at this point in the history
  • Loading branch information
bortoz authored and petejohanson committed Jan 8, 2022
1 parent 2925777 commit f2108f1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/led/led_pwm.c
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,7 @@ const struct led_pwm_config led_pwm_config_##id = { \
static struct led_pwm_data \
led_pwm_data_##id[ARRAY_SIZE(led_pwm_##id)]; \
\
DEVICE_DEFINE(led_pwm_##id, \
DT_INST_PROP_OR(id, label, "LED_PWM_"#id), \
DEVICE_DT_INST_DEFINE(id, \
&led_pwm_init, \
device_pm_control_nop, \
&led_pwm_data_##id, \
Expand Down

0 comments on commit f2108f1

Please sign in to comment.