]> www.infradead.org Git - users/hch/configfs.git/commit
net: mdio-gpio: Use device_is_compatible()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 4 Apr 2024 17:55:57 +0000 (20:55 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Apr 2024 10:05:09 +0000 (11:05 +0100)
commit9d56c248e5030d17ea9cd132634e86fdf0622d0e
treecad9a2d74b66786246ba350d1f0d65295d611a0b
parentdb77cdc69684890b37ff2bb9fb9e0be2ba4d6efe
net: mdio-gpio: Use device_is_compatible()

Replace open coded variant of device_is_compatible().

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/mdio/mdio-gpio.c