]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
phy: phy-can-transceiver: use device_get_match_data()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 13 May 2026 22:01:27 +0000 (00:01 +0200)
committerVinod Koul <vkoul@kernel.org>
Thu, 14 May 2026 15:32:21 +0000 (21:02 +0530)
commit23db9fd578ca3b446ceaa5c9a0157f0838f4df4e
treedf30bbc45863f2d706938eccb9ed22151568fb75
parentebee9004cc0200b2b708ebf7ac625d35c71c049f
phy: phy-can-transceiver: use device_get_match_data()

Use the generic firmware node interface for retrieving
device match data instead of the OF-specific one.

While at it, drop unneeded argument to devm_phy_create() which
extracts device node from the given device by default.

Reviewed-by: Josua Mayer <josua@solid-run.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20260513220336.369628-3-andriy.shevchenko@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/phy-can-transceiver.c