phy: mdio-thunder: add missed pci_release_regions in remove
authorChuhong Yuan <hslester96@gmail.com>
Fri, 6 Dec 2019 07:54:46 +0000 (15:54 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 6 Dec 2019 20:05:06 +0000 (12:05 -0800)
commit462f8554a89643dcd0981790101a31a01aa812fe
tree6051bd655e8718fe178db9242014e63e6a8605dc
parent9cf1cd8ee3ee09ef2859017df2058e2f53c5347f
phy: mdio-thunder: add missed pci_release_regions in remove

The driver forgets to call pci_release_regions() in remove like that
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-thunder.c