Re: [PATCH 3/9] net: dwc_eth_qos: Drop unused dm_gpio_free() on STM32

2023-02-03 Thread Ramon Fried
On Thu, Jan 19, 2023 at 11:45 PM Marek Vasut wrote: > > 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

[PATCH 3/9] net: dwc_eth_qos: Drop unused dm_gpio_free() on STM32

2023-01-19 Thread Marek Vasut
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(). Signed-off-by: Marek