]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: phy: fixed_phy: transition to the faux device interface
authorSudeep Holla <sudeep.holla@arm.com>
Wed, 19 Mar 2025 13:52:09 +0000 (13:52 +0000)
committerJakub Kicinski <kuba@kernel.org>
Mon, 24 Mar 2025 20:49:31 +0000 (13:49 -0700)
commitc4ebde35085eff2b20cfe2a0333f4fae8d2c3df1
tree75a65860a3f241e4857b82303d02b1324fd04aab
parent8112d5f61d09ea027e51a6a307021fcba9685c21
net: phy: fixed_phy: transition to the faux device interface

The net fixed phy driver does not require the creation of a platform
device. Originally, this approach was chosen for simplicity when the
driver was first implemented.

With the introduction of the lightweight faux device interface, we now
have a more appropriate alternative. Migrate the device to utilize the
faux bus, given that the platform device it previously created was not
a real one anyway. This will get rid of the fake platform device.

Cc: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Link: https://patch.msgid.link/20250319135209.2734594-1-sudeep.holla@arm.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/fixed_phy.c