aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/ssm2602.c
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-12-07 09:26:37 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-12-09 10:31:51 -0500
commit7a79e94e973639da7bf1b8242d504f9db9e5e848 (patch)
tree2bae8c8a5e1b350e2df0dbd6a80eff2dcc943ee1 /sound/soc/codecs/ssm2602.c
parente51e97eecdb2a4415aac5f1a69aa66ed787f1217 (diff)
ASoC: codecs: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away. Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/ssm2602.c')
-rw-r--r--sound/soc/codecs/ssm2602.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sound/soc/codecs/ssm2602.c b/sound/soc/codecs/ssm2602.c
index 079066fef425..f8d30e5f6371 100644
--- a/sound/soc/codecs/ssm2602.c
+++ b/sound/soc/codecs/ssm2602.c
@@ -691,7 +691,7 @@ static const struct regmap_config ssm2602_regmap_config = {
691}; 691};
692 692
693#if defined(CONFIG_SPI_MASTER) 693#if defined(CONFIG_SPI_MASTER)
694static int __devinit ssm2602_spi_probe(struct spi_device *spi) 694static int ssm2602_spi_probe(struct spi_device *spi)
695{ 695{
696 struct ssm2602_priv *ssm2602; 696 struct ssm2602_priv *ssm2602;
697 int ret; 697 int ret;
@@ -713,7 +713,7 @@ static int __devinit ssm2602_spi_probe(struct spi_device *spi)
713 return ret; 713 return ret;
714} 714}
715 715
716static int __devexit ssm2602_spi_remove(struct spi_device *spi) 716static int ssm2602_spi_remove(struct spi_device *spi)
717{ 717{
718 snd_soc_unregister_codec(&spi->dev); 718 snd_soc_unregister_codec(&spi->dev);
719 return 0; 719 return 0;
@@ -725,7 +725,7 @@ static struct spi_driver ssm2602_spi_driver = {
725 .owner = THIS_MODULE, 725 .owner = THIS_MODULE,
726 }, 726 },
727 .probe = ssm2602_spi_probe, 727 .probe = ssm2602_spi_probe,
728 .remove = __devexit_p(ssm2602_spi_remove), 728 .remove = ssm2602_spi_remove,
729}; 729};
730#endif 730#endif
731 731
@@ -736,7 +736,7 @@ static struct spi_driver ssm2602_spi_driver = {
736 * low = 0x1a 736 * low = 0x1a
737 * high = 0x1b 737 * high = 0x1b
738 */ 738 */
739static int __devinit ssm2602_i2c_probe(struct i2c_client *i2c, 739static int ssm2602_i2c_probe(struct i2c_client *i2c,
740 const struct i2c_device_id *id) 740 const struct i2c_device_id *id)
741{ 741{
742 struct ssm2602_priv *ssm2602; 742 struct ssm2602_priv *ssm2602;
@@ -759,7 +759,7 @@ static int __devinit ssm2602_i2c_probe(struct i2c_client *i2c,
759 return ret; 759 return ret;
760} 760}
761 761
762static int __devexit ssm2602_i2c_remove(struct i2c_client *client) 762static int ssm2602_i2c_remove(struct i2c_client *client)
763{ 763{
764 snd_soc_unregister_codec(&client->dev); 764 snd_soc_unregister_codec(&client->dev);
765 return 0; 765 return 0;
@@ -780,7 +780,7 @@ static struct i2c_driver ssm2602_i2c_driver = {
780 .owner = THIS_MODULE, 780 .owner = THIS_MODULE,
781 }, 781 },
782 .probe = ssm2602_i2c_probe, 782 .probe = ssm2602_i2c_probe,
783 .remove = __devexit_p(ssm2602_i2c_remove), 783 .remove = ssm2602_i2c_remove,
784 .id_table = ssm2602_i2c_id, 784 .id_table = ssm2602_i2c_id,
785}; 785};
786#endif 786#endif