Skip to content

Commit

Permalink
generic: rtl8366_smi: use __rtl8366_smi_cleanup instead of gpio_free …
Browse files Browse the repository at this point in the history
…calls

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32942 3c298f89-4303-0410-b956-a3cf2f4a3e73
  • Loading branch information
juhosg committed Aug 2, 2012
1 parent 0a53c61 commit 7f000ed
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions target/linux/generic/files/drivers/net/phy/rtl8366_smi.c
Expand Up @@ -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);

Expand Down

0 comments on commit 7f000ed

Please sign in to comment.