[PATCH 00/19] amba: store owner from modules with amba_driver_register()

From: Krzysztof Kozlowski
Date: Tue Mar 26 2024 - 16:24:20 EST


Merging
=======
All further patches depend on the first amba patch, therefore please ack
and this should go via one tree.

Description
===========
Modules registering driver with amba_driver_register() often forget to
set .owner field.

Solve the problem by moving this task away from the drivers to the core
amba bus code, just like we did for platform_driver in commit
9447057eaff8 ("platform_device: use a macro instead of
platform_driver_register").

Best regards,
Krzysztof

---
Krzysztof Kozlowski (19):
amba: store owner from modules with amba_driver_register()
coresight: cti: drop owner assignment
coresight: catu: drop owner assignment
coresight: etm3x: drop owner assignment
coresight: etm4x: drop owner assignment
coresight: funnel: drop owner assignment
coresight: replicator: drop owner assignment
coresight: etb10: drop owner assignment
coresight: stm: drop owner assignment
coresight: tmc: drop owner assignment
coresight: tpda: drop owner assignment
coresight: tpdm: drop owner assignment
coresight: tpiu: drop owner assignment
i2c: nomadik: drop owner assignment
hwrng: nomadik: drop owner assignment
dmaengine: pl330: drop owner assignment
Input: ambakmi - drop owner assignment
memory: pl353-smc: drop owner assignment
vfio: amba: drop owner assignment

drivers/amba/bus.c | 11 +++++++----
drivers/char/hw_random/nomadik-rng.c | 1 -
drivers/dma/pl330.c | 1 -
drivers/hwtracing/coresight/coresight-catu.c | 1 -
drivers/hwtracing/coresight/coresight-cti-core.c | 1 -
drivers/hwtracing/coresight/coresight-etb10.c | 1 -
drivers/hwtracing/coresight/coresight-etm3x-core.c | 1 -
drivers/hwtracing/coresight/coresight-etm4x-core.c | 1 -
drivers/hwtracing/coresight/coresight-funnel.c | 1 -
drivers/hwtracing/coresight/coresight-replicator.c | 1 -
drivers/hwtracing/coresight/coresight-stm.c | 1 -
drivers/hwtracing/coresight/coresight-tmc-core.c | 1 -
drivers/hwtracing/coresight/coresight-tpda.c | 1 -
drivers/hwtracing/coresight/coresight-tpdm.c | 1 -
drivers/hwtracing/coresight/coresight-tpiu.c | 1 -
drivers/i2c/busses/i2c-nomadik.c | 1 -
drivers/input/serio/ambakmi.c | 1 -
drivers/memory/pl353-smc.c | 1 -
drivers/vfio/platform/vfio_amba.c | 1 -
include/linux/amba/bus.h | 11 +++++++++--
20 files changed, 16 insertions(+), 24 deletions(-)
---
base-commit: 1fdad13606e104ff103ca19d2d660830cb36d43e
change-id: 20240326-module-owner-amba-3ebb65256be7

Best regards,
--
Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>