Similar to the cleanup on the FSLMC bus, the DPAA bus device can be cleaned.
The rte_dpaa_device object keeps track of a device class object (cryptodev, dmadev, ethdev) which is a layer violation. Make use of the device class respective infrastructure and remove those back references. Disclaimer: this series is untested as I don't have the hardware. I only based those changes on look at the code and other drivers. -- David Marchand David Marchand (3): crypto/dpaa_sec: remove cryptodev pointer from bus device dma/dpaa: remove dmadev pointer from bus device net/dpaa: remove ethdev pointer from bus device drivers/bus/dpaa/bus_dpaa_driver.h | 5 ---- drivers/crypto/dpaa_sec/dpaa_sec.c | 8 ++---- drivers/dma/dpaa/dpaa_qdma.c | 39 +++++++++++++++--------------- drivers/net/dpaa/dpaa_ethdev.c | 3 +-- 4 files changed, 22 insertions(+), 33 deletions(-) -- 2.53.0

