diff options
Diffstat (limited to 'sound/soc/codecs/tlv320aic26.c')
-rw-r--r-- | sound/soc/codecs/tlv320aic26.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/sound/soc/codecs/tlv320aic26.c b/sound/soc/codecs/tlv320aic26.c index 85944e953578..b1f6982c7c9c 100644 --- a/sound/soc/codecs/tlv320aic26.c +++ b/sound/soc/codecs/tlv320aic26.c | |||
@@ -444,14 +444,4 @@ static struct spi_driver aic26_spi = { | |||
444 | .remove = aic26_spi_remove, | 444 | .remove = aic26_spi_remove, |
445 | }; | 445 | }; |
446 | 446 | ||
447 | static int __init aic26_init(void) | 447 | module_spi_driver(aic26_spi); |
448 | { | ||
449 | return spi_register_driver(&aic26_spi); | ||
450 | } | ||
451 | module_init(aic26_init); | ||
452 | |||
453 | static void __exit aic26_exit(void) | ||
454 | { | ||
455 | spi_unregister_driver(&aic26_spi); | ||
456 | } | ||
457 | module_exit(aic26_exit); | ||