generic: rtl8366_smi: use __rtl8366_smi_cleanup instead of gpio_free calls

SVN-Revision: 32942
This commit is contained in:
Gabor Juhos 2012-08-02 09:54:13 +00:00
parent 9f011e7225
commit 614ca3cc9e

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