[PATCH RFC 0/3] amba: bus: Move reading periphid operation from amba_match() to amba_probe()

From: Zijun Hu
Date: Sun Sep 08 2024 - 19:38:35 EST


This patch series is to make amba_match(), as bus_type @amba_bustype's
match(), also follow below ideal rule:

bus_type's match() should only return bool type compatible integer 0 or
1 ideally since its main operations are lookup and comparison normally.

Which has been followed by match() of all other bus_types in current
kernel tree.

Signed-off-by: Zijun Hu <quic_zijuhu@xxxxxxxxxxx>
---
Zijun Hu (3):
amba: bus: Warn on adding an AMBA device without valid periphid
amba: bus: Move empty @amba_proxy_drv's definition to the front
amba: bus: Move reading periphid operation from amba_match() to amba_probe()

drivers/amba/bus.c | 130 ++++++++++++++++++++++++++---------------------
include/linux/amba/bus.h | 1 -
2 files changed, 72 insertions(+), 59 deletions(-)
---
base-commit: 888f67e621dda5c2804a696524e28d0ca4cf0a80
change-id: 20240829-fix_amba-0f09aa1fc3b1

Best regards,
--
Zijun Hu <quic_zijuhu@xxxxxxxxxxx>