drivers: peci: Convert drivers to new DT device macros
Convert peci drivers from: DEVICE_AND_API_INIT -> DEVICE_DT_INST_DEFINE Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
3dfcdd81e1
commit
640437003f
1 changed files with 2 additions and 1 deletions
|
@ -384,8 +384,9 @@ static int peci_xec_init(const struct device *dev)
|
|||
return 0;
|
||||
}
|
||||
|
||||
DEVICE_AND_API_INIT(peci_xec, DT_INST_LABEL(0),
|
||||
DEVICE_DT_INST_DEFINE(0,
|
||||
&peci_xec_init,
|
||||
device_pm_control_nop,
|
||||
NULL, NULL,
|
||||
POST_KERNEL, CONFIG_PECI_INIT_PRIORITY,
|
||||
&peci_xec_driver_api);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue