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
master
Gabor Juhos 2012-08-02 09:54:13 +00:00
parent 677ee8449a
commit 43975158da
1 changed files with 1 additions and 2 deletions

View File

@ -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);