Re: [PATCH] net: stmmac: fix reset gpio free missing

From: David Miller
Date: Wed May 22 2019 - 20:32:36 EST


From: Jisheng Zhang <Jisheng.Zhang@xxxxxxxxxxxxx>
Date: Wed, 22 May 2019 10:05:09 +0000

> Commit 984203ceff27 ("net: stmmac: mdio: remove reset gpio free")
> removed the reset gpio free, when the driver is unbinded or rmmod,
> we miss the gpio free.
>
> This patch uses managed API to request the reset gpio, so that the
> gpio could be freed properly.
>
> Signed-off-by: Jisheng Zhang <Jisheng.Zhang@xxxxxxxxxxxxx>
> Fixes: 984203ceff27 ("net: stmmac: mdio: remove reset gpio free")

Please put the Fixes: tag first in the list of tags in the future.

Applied, thank you.