drivers: crypto: Convert drivers to new DT device macros
Convert crypto 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
f387c59ad5
commit
a4c4999254
|
@ -462,7 +462,7 @@ static struct crypto_stm32_config crypto_stm32_dev_config = {
|
|||
}
|
||||
};
|
||||
|
||||
DEVICE_AND_API_INIT(crypto_stm32, DT_INST_LABEL(0),
|
||||
crypto_stm32_init, &crypto_stm32_dev_data,
|
||||
DEVICE_DT_INST_DEFINE(0, crypto_stm32_init, device_pm_control_nop,
|
||||
&crypto_stm32_dev_data,
|
||||
&crypto_stm32_dev_config, POST_KERNEL,
|
||||
CONFIG_CRYPTO_INIT_PRIORITY, (void *)&crypto_enc_funcs);
|
||||
|
|
Loading…
Reference in New Issue