aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/cs4271.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/codecs/cs4271.c')
-rw-r--r--sound/soc/codecs/cs4271.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/sound/soc/codecs/cs4271.c b/sound/soc/codecs/cs4271.c
index 6ad3878db8fc..4f1127935fdf 100644
--- a/sound/soc/codecs/cs4271.c
+++ b/sound/soc/codecs/cs4271.c
@@ -570,7 +570,7 @@ static struct snd_soc_codec_driver soc_codec_dev_cs4271 = {
570}; 570};
571 571
572#if defined(CONFIG_SPI_MASTER) 572#if defined(CONFIG_SPI_MASTER)
573static int __devinit cs4271_spi_probe(struct spi_device *spi) 573static int cs4271_spi_probe(struct spi_device *spi)
574{ 574{
575 struct cs4271_private *cs4271; 575 struct cs4271_private *cs4271;
576 576
@@ -585,7 +585,7 @@ static int __devinit cs4271_spi_probe(struct spi_device *spi)
585 &cs4271_dai, 1); 585 &cs4271_dai, 1);
586} 586}
587 587
588static int __devexit cs4271_spi_remove(struct spi_device *spi) 588static int cs4271_spi_remove(struct spi_device *spi)
589{ 589{
590 snd_soc_unregister_codec(&spi->dev); 590 snd_soc_unregister_codec(&spi->dev);
591 return 0; 591 return 0;
@@ -598,7 +598,7 @@ static struct spi_driver cs4271_spi_driver = {
598 .of_match_table = of_match_ptr(cs4271_dt_ids), 598 .of_match_table = of_match_ptr(cs4271_dt_ids),
599 }, 599 },
600 .probe = cs4271_spi_probe, 600 .probe = cs4271_spi_probe,
601 .remove = __devexit_p(cs4271_spi_remove), 601 .remove = cs4271_spi_remove,
602}; 602};
603#endif /* defined(CONFIG_SPI_MASTER) */ 603#endif /* defined(CONFIG_SPI_MASTER) */
604 604
@@ -609,8 +609,8 @@ static const struct i2c_device_id cs4271_i2c_id[] = {
609}; 609};
610MODULE_DEVICE_TABLE(i2c, cs4271_i2c_id); 610MODULE_DEVICE_TABLE(i2c, cs4271_i2c_id);
611 611
612static int __devinit cs4271_i2c_probe(struct i2c_client *client, 612static int cs4271_i2c_probe(struct i2c_client *client,
613 const struct i2c_device_id *id) 613 const struct i2c_device_id *id)
614{ 614{
615 struct cs4271_private *cs4271; 615 struct cs4271_private *cs4271;
616 616
@@ -625,7 +625,7 @@ static int __devinit cs4271_i2c_probe(struct i2c_client *client,
625 &cs4271_dai, 1); 625 &cs4271_dai, 1);
626} 626}
627 627
628static int __devexit cs4271_i2c_remove(struct i2c_client *client) 628static int cs4271_i2c_remove(struct i2c_client *client)
629{ 629{
630 snd_soc_unregister_codec(&client->dev); 630 snd_soc_unregister_codec(&client->dev);
631 return 0; 631 return 0;
@@ -639,7 +639,7 @@ static struct i2c_driver cs4271_i2c_driver = {
639 }, 639 },
640 .id_table = cs4271_i2c_id, 640 .id_table = cs4271_i2c_id,
641 .probe = cs4271_i2c_probe, 641 .probe = cs4271_i2c_probe,
642 .remove = __devexit_p(cs4271_i2c_remove), 642 .remove = cs4271_i2c_remove,
643}; 643};
644#endif /* defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE) */ 644#endif /* defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE) */
645 645