net: mdiobus: Convert to use fwnode_device_is_compatible()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 19 Jan 2023 17:50:10 +0000 (19:50 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 23 Jan 2023 14:37:13 +0000 (14:37 +0000)
commitd408ec0b5d9acc2d2f276946adf167095eb59740
tree791357e790cbfaff6fe0b150aeae31caaf2b3d2e
parentdc0b98a1758f0d2296349ca23ac88804b922e88d
net: mdiobus: Convert to use fwnode_device_is_compatible()

Replace open coded fwnode_device_is_compatible() in the driver.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/mdio/fwnode_mdio.c