mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-01-12 02:30:15 +02:00
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
This commit is contained in:
parent
0a53c615c8
commit
7f000ed40c
@ -1340,8 +1340,7 @@ void rtl8366_smi_cleanup(struct rtl8366_smi *smi)
|
|||||||
{
|
{
|
||||||
rtl8366_debugfs_remove(smi);
|
rtl8366_debugfs_remove(smi);
|
||||||
rtl8366_smi_mii_cleanup(smi);
|
rtl8366_smi_mii_cleanup(smi);
|
||||||
gpio_free(smi->gpio_sck);
|
__rtl8366_smi_cleanup(smi);
|
||||||
gpio_free(smi->gpio_sda);
|
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL_GPL(rtl8366_smi_cleanup);
|
EXPORT_SYMBOL_GPL(rtl8366_smi_cleanup);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user