drivers: display: Convert drivers to new DT device macros
Convert display drivers from: DEVICE_AND_API_INIT -> DEVICE_DT_INST_DEFINE DEVICE_DEFINE -> DEVICE_DT_INST_DEFINE DEVICE_GET -> DEVICE_DT_INST_GET etc.. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
ead46e029f
commit
bdb773c1c4
6 changed files with 9 additions and 8 deletions
|
@ -717,7 +717,7 @@ static struct display_driver_api ssd16xx_driver_api = {
|
|||
};
|
||||
|
||||
|
||||
DEVICE_AND_API_INIT(ssd16xx, DT_INST_LABEL(0), ssd16xx_init,
|
||||
DEVICE_DT_INST_DEFINE(0, ssd16xx_init, device_pm_control_nop,
|
||||
&ssd16xx_driver, NULL,
|
||||
POST_KERNEL, CONFIG_APPLICATION_INIT_PRIORITY,
|
||||
&ssd16xx_driver_api);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue