[PATCH v2 0/5] amba: minor fix and various cleanups

From: Uwe Kleine-König
Date: Tue Nov 24 2020 - 08:32:28 EST


From: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>

Hello,

Changes since (implicit) v1 sent with Message-Id:
20201124103242.2971199-1-u.kleine-koenig@xxxxxxxxxxxxxx:

- Fix prototype of dynamic_replicator_remove to make the driver compile
again. Thanks Ulf for catching that.
- Reorder patches to have the fix first in case it should be
backported.
- New patch to cleanup the vfio driver which simplifies the "Make the
remove callback return void" patch; found by Arnd.
- Add a guard in "Make use of bus_type functions" that is necessary as
the bus's shutdown function might be called for unbound devices.
Thanks to Marek Szyprowski for reporting this problem for a similar
series I created for spi.
- Added Reviewed-by: for Arnd and Ulf. (Please speak up if the changes
I did invalidate your tags.)

@rmk: I assume you are the one who will pick this up and I will have to
send this series to your patch tracker?

Uwe Kleine-König (5):
amba: Fix resource leak for drivers without .remove
amba: reorder functions
vfio: platform: simplify device removal
amba: Make the remove callback return void
amba: Make use of bus_type functions

drivers/amba/bus.c | 234 +++++++++---------
drivers/char/hw_random/nomadik-rng.c | 3 +-
drivers/dma/pl330.c | 3 +-
drivers/gpu/drm/pl111/pl111_drv.c | 4 +-
drivers/hwtracing/coresight/coresight-catu.c | 3 +-
.../hwtracing/coresight/coresight-cpu-debug.c | 4 +-
.../hwtracing/coresight/coresight-cti-core.c | 4 +-
drivers/hwtracing/coresight/coresight-etb10.c | 4 +-
.../coresight/coresight-etm3x-core.c | 4 +-
.../coresight/coresight-etm4x-core.c | 4 +-
.../hwtracing/coresight/coresight-funnel.c | 4 +-
.../coresight/coresight-replicator.c | 4 +-
drivers/hwtracing/coresight/coresight-stm.c | 4 +-
.../hwtracing/coresight/coresight-tmc-core.c | 4 +-
drivers/hwtracing/coresight/coresight-tpiu.c | 4 +-
drivers/i2c/busses/i2c-nomadik.c | 4 +-
drivers/input/serio/ambakmi.c | 3 +-
drivers/memory/pl172.c | 4 +-
drivers/memory/pl353-smc.c | 4 +-
drivers/mmc/host/mmci.c | 4 +-
drivers/rtc/rtc-pl030.c | 4 +-
drivers/rtc/rtc-pl031.c | 4 +-
drivers/spi/spi-pl022.c | 5 +-
drivers/tty/serial/amba-pl010.c | 4 +-
drivers/tty/serial/amba-pl011.c | 3 +-
drivers/vfio/platform/vfio_amba.c | 15 +-
drivers/video/fbdev/amba-clcd.c | 4 +-
drivers/watchdog/sp805_wdt.c | 4 +-
include/linux/amba/bus.h | 2 +-
sound/arm/aaci.c | 4 +-
30 files changed, 157 insertions(+), 198 deletions(-)


base-commit: 95065cb54210eba86bed10cb2118041524d54573
--
2.29.2