Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e3060b17 authored by Felipe Balbi's avatar Felipe Balbi Committed by Greg Kroah-Hartman
Browse files

USB: musb: move musb_remove to __exit



probe() already was on __init, so moving remove() to __exit.

Signed-off-by: default avatarFelipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 95962a77
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -2139,7 +2139,7 @@ static int __init musb_probe(struct platform_device *pdev)
	return musb_init_controller(dev, irq, base);
	return musb_init_controller(dev, irq, base);
}
}


static int __devexit musb_remove(struct platform_device *pdev)
static int __exit musb_remove(struct platform_device *pdev)
{
{
	struct musb	*musb = dev_to_musb(&pdev->dev);
	struct musb	*musb = dev_to_musb(&pdev->dev);
	void __iomem	*ctrl_base = musb->ctrl_base;
	void __iomem	*ctrl_base = musb->ctrl_base;
@@ -2231,7 +2231,7 @@ static struct platform_driver musb_driver = {
		.owner		= THIS_MODULE,
		.owner		= THIS_MODULE,
		.pm		= MUSB_DEV_PM_OPS,
		.pm		= MUSB_DEV_PM_OPS,
	},
	},
	.remove		= __devexit_p(musb_remove),
	.remove		= __exit_p(musb_remove),
	.shutdown	= musb_shutdown,
	.shutdown	= musb_shutdown,
};
};