]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
tools/testing/cxl: Use dev_is_platform()
authorKunwu Chan <chentao@kylinos.cn>
Tue, 27 Aug 2024 09:51:23 +0000 (17:51 +0800)
committerDave Jiang <dave.jiang@intel.com>
Tue, 3 Sep 2024 21:40:41 +0000 (14:40 -0700)
commit1c1d348b08ab7c106dd96bafb120f0888827174b
tree1e776b94ca41b4ea217477c643b149875f08c880
parent1f9651bfc51326fbed10df820c4e80f885f921d8
tools/testing/cxl: Use dev_is_platform()

Use dev_is_platform() instead of checking bus type directly.

Signed-off-by: Kunwu Chan <chentao@kylinos.cn>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://patch.msgid.link/20240827095123.168696-1-kunwu.chan@linux.dev
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
tools/testing/cxl/mock_acpi.c