RFC amba: bus: Move reading periphid operation from amba_match() to amba_probe()
Get series with b4
b4 am [email protected] change-id 20240829-fix_amba-0f09aa1fc3b1Versions newest first
- v1 RFC Latest3 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | amba: bus: Warn on adding an AMBA device without valid periphiddrivers/ | +3 | 0 replies | |
| 2/3 | amba: bus: Move empty @amba_proxy_drv's definition to the frontdrivers/ | +36 | 0 replies | |
| 3/3 | amba: bus: Move reading periphid operation from amba_match() to amba_probe()drivers/ include/ | +33 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH RFC 0/3] amba: bus: Move reading periphid operation from amba_match() to amba_probe()
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 <[email protected]>
---
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,
Signature · 1 line
Zijun Hu <[email protected]>