diff options
author | Andrey Smirnov <andrew.smirnov@gmail.com> | 2019-10-22 17:30:13 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-11-01 06:38:31 +0100 |
commit | 51d13aaf59779ff4d13f1def2c72ae102a1aad40 (patch) | |
tree | ac3f164606e9c7f0a734aa35feaa6914d2e43648 /kernel/cred.c | |
parent | crypto: caam - use devres to populate platform devices (diff) | |
download | linux-51d13aaf59779ff4d13f1def2c72ae102a1aad40.tar.xz linux-51d13aaf59779ff4d13f1def2c72ae102a1aad40.zip |
crypto: caam - populate platform devices last
Move the call to devm_of_platform_populate() at the end of
caam_probe(), so we won't try to add any child devices until all of
the initialization is finished successfully.
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Cc: Chris Healy <cphealy@gmail.com>
Cc: Lucas Stach <l.stach@pengutronix.de>
Cc: Horia Geantă <horia.geanta@nxp.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Iuliana Prodan <iuliana.prodan@nxp.com>
Cc: linux-crypto@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Reviewed-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'kernel/cred.c')
0 files changed, 0 insertions, 0 deletions