]> git.baikalelectronics.ru Git - kernel.git/commit
phy: mdio-sun4i: add missed regulator_disable in remove
authorChuhong Yuan <hslester96@gmail.com>
Mon, 18 Nov 2019 11:41:15 +0000 (19:41 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Nov 2019 01:22:40 +0000 (17:22 -0800)
commit249ec84067a5a41c2866b2148f7e9eb08cb6d8ae
tree471524a3378c579164f4aa03d07602b6a88e772c
parent083220429802a7571247f076d4ca5a1188673d8c
phy: mdio-sun4i: add missed regulator_disable in remove

The driver forgets to disable the regulator in remove like what is done
in probe failure.
Add the missed call to fix it.

Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/mdio-sun4i.c