OSDN Git Service

fec: convert to gpio descriptor
authorArnd Bergmann <arnd@arndb.de>
Thu, 26 Jan 2023 21:05:59 +0000 (22:05 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 30 Jan 2023 07:20:10 +0000 (07:20 +0000)
commit468ba54bd616db995514f9671ac116eb4b62e0ea
tree1bcdc147eaf868f426e8e0b89580fa598e5823f7
parent453d9fdc364b87601df168c962e93407fbe5e91a
fec: convert to gpio descriptor

The driver can be trivially converted, as it only triggers the gpio
pin briefly to do a reset, and it already only supports DT.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fec_main.c