drivers: led: remove usage of device_pm_control_nop
device_pm_control_nop is now deprecated in favour of NULL. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
parent
5f4fedc3c3
commit
40e9cb675c
6 changed files with 7 additions and 7 deletions
|
@ -473,7 +473,7 @@ static const struct led_driver_api ht16k33_leds_api = {
|
|||
\
|
||||
static struct ht16k33_data ht16k33_##id##_data; \
|
||||
\
|
||||
DEVICE_DT_INST_DEFINE(id, &ht16k33_init, device_pm_control_nop, \
|
||||
DEVICE_DT_INST_DEFINE(id, &ht16k33_init, NULL, \
|
||||
&ht16k33_##id##_data, \
|
||||
&ht16k33_##id##_cfg, POST_KERNEL, \
|
||||
CONFIG_LED_INIT_PRIORITY, &ht16k33_leds_api)
|
||||
|
@ -493,7 +493,7 @@ static const struct led_driver_api ht16k33_leds_api = {
|
|||
\
|
||||
static struct ht16k33_data ht16k33_##id##_data; \
|
||||
\
|
||||
DEVICE_DT_INST_DEFINE(id, &ht16k33_init, device_pm_control_nop, \
|
||||
DEVICE_DT_INST_DEFINE(id, &ht16k33_init, NULL, \
|
||||
&ht16k33_##id##_data, \
|
||||
&ht16k33_##id##_cfg, POST_KERNEL, \
|
||||
CONFIG_LED_INIT_PRIORITY, &ht16k33_leds_api)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue