crypto: caam/qi - don't allocate an extra platform device
authorHoria Geantă <horia.geanta@nxp.com>
Fri, 3 May 2019 14:17:40 +0000 (17:17 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 23 May 2019 06:01:04 +0000 (14:01 +0800)
commit6b175685b4a12ab0aa048078bd7ca1fdb20ca766
tree4d71d589f906c3be75dcdab9282e7d76cfd94a40
parent1b46c90c8e002028dc622bf7bd8cf89efcaab274
crypto: caam/qi - don't allocate an extra platform device

Use the controller device for caam/qi instead of allocating
a new platform device.
This is needed as a preparation to add support for working behind an
SMMU. A platform device allocated using platform_device_register_full()
is not completely set up - most importantly .dma_configure()
is not called.

Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/caamalg_qi.c
drivers/crypto/caam/ctrl.c
drivers/crypto/caam/intern.h
drivers/crypto/caam/qi.c