diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-08-02 09:54:13 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-08-02 09:54:13 +0000 |
commit | 43975158da9bbd14bebfaed6f5dd91a528b06138 (patch) | |
tree | 0909e76a1dfb2cac6a39669d1279bbc9ed7c4fae | |
parent | 677ee8449af754a04d216d9b92a683db69ce13d5 (diff) | |
download | master-187ad058-43975158da9bbd14bebfaed6f5dd91a528b06138.tar.gz master-187ad058-43975158da9bbd14bebfaed6f5dd91a528b06138.tar.bz2 master-187ad058-43975158da9bbd14bebfaed6f5dd91a528b06138.zip |
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
-rw-r--r-- | target/linux/generic/files/drivers/net/phy/rtl8366_smi.c | 3 |
1 files changed, 1 insertions, 2 deletions
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 ca8f788cab..1288db1982 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); |