[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240923094249.80399-1-chentao@kylinos.cn>
Date: Mon, 23 Sep 2024 17:42:46 +0800
From: Kunwu Chan <chentao@...inos.cn>
To: linux@...linux.org.uk,
robh@...nel.org,
saravanak@...gle.com
Cc: linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org,
Kunwu Chan <chentao@...inos.cn>
Subject: [PATCH 0/2] Add dev_is_amba and replace the usage in platform
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
Powered by blists - more mailing lists