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-a3cf2f4a3e73master
parent
677ee8449a
commit
43975158da
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue