From 7f000ed40c2ec76337df186113fa7d221b1dd8b9 Mon Sep 17 00:00:00 2001 From: juhosg Date: Thu, 2 Aug 2012 09:54:13 +0000 Subject: generic: rtl8366_smi: use __rtl8366_smi_cleanup instead of gpio_free calls git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32942 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/generic/files/drivers/net/phy/rtl8366_smi.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'target') diff --git a/target/linux/generic/files/drivers/net/phy/rtl8366_smi.c b/target/linux/generic/files/drivers/net/phy/rtl8366_smi.c index ca8f788ca..1288db198 100644 --- a/target/linux/generic/files/drivers/net/phy/rtl8366_smi.c +++ b/target/linux/generic/files/drivers/net/phy/rtl8366_smi.c @@ -1340,8 +1340,7 @@ void rtl8366_smi_cleanup(struct rtl8366_smi *smi) { rtl8366_debugfs_remove(smi); rtl8366_smi_mii_cleanup(smi); - gpio_free(smi->gpio_sck); - gpio_free(smi->gpio_sda); + __rtl8366_smi_cleanup(smi); } EXPORT_SYMBOL_GPL(rtl8366_smi_cleanup); -- cgit v1.2.3