fix typos in adm5120 switch driver (#4241)

SVN-Revision: 31196
lede-17.01
Florian Fainelli 2012-04-04 15:53:15 +00:00
parent 09ade17a15
commit 152f38a615
1 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@
/* ------------------------------------------------------------------------ */
#ifdef CONFIG_ADM5120_SWITCH_DEBUG
#define SW_DBG(f, a...) printk(KERN_DBG "%s: " f, DRV_NAME , ## a)
#define SW_DBG(f, a...) printk(KERN_DEBUG "%s: " f, DRV_NAME , ## a)
#else
#define SW_DBG(f, a...) do {} while (0)
#endif
@ -1172,7 +1172,7 @@ err:
return err;
}
static int adm5120_switch_remove(struct platform_device *dev)
static int adm5120_switch_remove(struct platform_device *pdev)
{
adm5120_switch_cleanup();
return 0;