net: dwc_eth_qos: Drop unused dm_gpio_free() on STM32
authorMarek Vasut <marex@denx.de>
Mon, 6 Mar 2023 14:53:44 +0000 (15:53 +0100)
committerStefano Babic <sbabic@denx.de>
Thu, 30 Mar 2023 11:47:03 +0000 (13:47 +0200)
commit2e0bade78542998134378ae33c50b054532b70a1
treee810b1c6b8703a97b22ddb71cd3c2c671c375a8d
parent895b05ce02ece2482534351dbe618a12e3d223bb
net: dwc_eth_qos: Drop unused dm_gpio_free() on STM32

The dm_gpio_free() is never called, because for stm32, the phy_reset_gpio
pointer is never valid. This is because only tegra186 ever claims the
phy_reset_gpio, all other platforms use the PHY framework to reset the
PHY instead. Drop the dm_gpio_free() and dm_gpio_is_valid().

Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Signed-off-by: Marek Vasut <marex@denx.de>
drivers/net/dwc_eth_qos.c