devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Add dev_is_amba and replace the usage in platform
@ 2024-09-23  9:42 Kunwu Chan
  2024-09-23  9:42 ` [PATCH 1/2] amba: Add dev_is_amba() function and export it for modules Kunwu Chan
  2024-09-23  9:42 ` [PATCH 2/2] of/platform: PCI: Use dev_is_platform/dev_is_amba to identify platform/amba devices Kunwu Chan
  0 siblings, 2 replies; 9+ messages in thread
From: Kunwu Chan @ 2024-09-23  9:42 UTC (permalink / raw)
  To: linux, robh, saravanak; +Cc: linux-kernel, devicetree, Kunwu Chan

Add dev_is_amba function and use dev_is_platform()/dev_is_amba() 
instead of checking bus type directly.

Kunwu Chan (2):
  amba: Add dev_is_amba() function and export it for modules
  of/platform: PCI: Use dev_is_platform/dev_is_amba to identify
    platform/amba devices

 drivers/amba/bus.c       | 6 ++++++
 drivers/of/platform.c    | 4 ++--
 include/linux/amba/bus.h | 5 +++++
 3 files changed, 13 insertions(+), 2 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-10-02  2:11 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-23  9:42 [PATCH 0/2] Add dev_is_amba and replace the usage in platform Kunwu Chan
2024-09-23  9:42 ` [PATCH 1/2] amba: Add dev_is_amba() function and export it for modules Kunwu Chan
2024-09-23 11:11   ` Andy Shevchenko
2024-09-23 11:12     ` Andy Shevchenko
2024-09-24 22:28   ` Rob Herring
2024-09-24 22:43     ` Russell King (Oracle)
2024-09-30  1:39       ` Kunwu Chan
2024-10-02  2:11       ` Rob Herring
2024-09-23  9:42 ` [PATCH 2/2] of/platform: PCI: Use dev_is_platform/dev_is_amba to identify platform/amba devices Kunwu Chan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).