Skip to content

Commit

Permalink
ASoC: psc-ac97: Convert to module_platform_driver()
Browse files Browse the repository at this point in the history
Acked-by: Manuel Lauss <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
  • Loading branch information
broonie committed Jun 27, 2013
1 parent a16a6c6 commit 2105d63
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions sound/soc/au1x/psc-ac97.c
Original file line number Diff line number Diff line change
Expand Up @@ -497,19 +497,7 @@ static struct platform_driver au1xpsc_ac97_driver = {
.remove = au1xpsc_ac97_drvremove,
};

static int __init au1xpsc_ac97_load(void)
{
au1xpsc_ac97_workdata = NULL;
return platform_driver_register(&au1xpsc_ac97_driver);
}

static void __exit au1xpsc_ac97_unload(void)
{
platform_driver_unregister(&au1xpsc_ac97_driver);
}

module_init(au1xpsc_ac97_load);
module_exit(au1xpsc_ac97_unload);
module_platform_driver(au1xpsc_ac97_driver);

MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("Au12x0/Au1550 PSC AC97 ALSA ASoC audio driver");
Expand Down

0 comments on commit 2105d63

Please sign in to comment.