diff --git a/drivers/led/led_pwm.c b/drivers/led/led_pwm.c index 4d06685913877e..834107007ce14d 100644 --- a/drivers/led/led_pwm.c +++ b/drivers/led/led_pwm.c @@ -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, \