]> 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)
commit76f015b6205a31a5d94a38dc04de03a4b2d69e28
tree471524a3378c579164f4aa03d07602b6a88e772c
parente2c2e334bd7aa6660adb6f4e4958c06425515400
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