Commit 38d78baf authored by Mark Brown's avatar Mark Brown

ASoC: ak4104: Convert to module_spi_driver()

Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 65b30bee
...@@ -289,17 +289,7 @@ static struct spi_driver ak4104_spi_driver = { ...@@ -289,17 +289,7 @@ static struct spi_driver ak4104_spi_driver = {
.remove = __devexit_p(ak4104_spi_remove), .remove = __devexit_p(ak4104_spi_remove),
}; };
static int __init ak4104_init(void) module_spi_driver(ak4104_spi_driver);
{
return spi_register_driver(&ak4104_spi_driver);
}
module_init(ak4104_init);
static void __exit ak4104_exit(void)
{
spi_unregister_driver(&ak4104_spi_driver);
}
module_exit(ak4104_exit);
MODULE_AUTHOR("Daniel Mack <daniel@caiaq.de>"); MODULE_AUTHOR("Daniel Mack <daniel@caiaq.de>");
MODULE_DESCRIPTION("Asahi Kasei AK4104 ALSA SoC driver"); MODULE_DESCRIPTION("Asahi Kasei AK4104 ALSA SoC driver");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment