ar71xx: fix return statement in the rtl8366 driver

SVN-Revision: 19204
owl
Felix Fietkau 2010-01-17 22:57:08 +00:00
parent c15a8f3b93
commit 8394a32815
1 changed files with 1 additions and 1 deletions

View File

@ -1731,7 +1731,7 @@ static int rtl8366_smi_switch_init(struct rtl8366_smi *smi)
if (err)
dev_err(&smi->pdev->dev, "switch registration failed\n");
return;
return err;
}
static void rtl8366_smi_switch_cleanup(struct rtl8366_smi *smi)