aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/ak4671.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/ak4671.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/ak4671.c')
-rw-r--r--sound/soc/codecs/ak4671.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/soc/codecs/ak4671.c b/sound/soc/codecs/ak4671.c
index 2b457976a7bf..25bdf6ad4a54 100644
--- a/sound/soc/codecs/ak4671.c
+++ b/sound/soc/codecs/ak4671.c
@@ -655,8 +655,8 @@ static struct snd_soc_codec_driver soc_codec_dev_ak4671 = {
655 .num_dapm_routes = ARRAY_SIZE(ak4671_intercon), 655 .num_dapm_routes = ARRAY_SIZE(ak4671_intercon),
656}; 656};
657 657
658static int __devinit ak4671_i2c_probe(struct i2c_client *client, 658static int ak4671_i2c_probe(struct i2c_client *client,
659 const struct i2c_device_id *id) 659 const struct i2c_device_id *id)
660{ 660{
661 struct ak4671_priv *ak4671; 661 struct ak4671_priv *ak4671;
662 int ret; 662 int ret;
@@ -674,7 +674,7 @@ static int __devinit ak4671_i2c_probe(struct i2c_client *client,
674 return ret; 674 return ret;
675} 675}
676 676
677static __devexit int ak4671_i2c_remove(struct i2c_client *client) 677static int ak4671_i2c_remove(struct i2c_client *client)
678{ 678{
679 snd_soc_unregister_codec(&client->dev); 679 snd_soc_unregister_codec(&client->dev);
680 return 0; 680 return 0;
@@ -692,7 +692,7 @@ static struct i2c_driver ak4671_i2c_driver = {
692 .owner = THIS_MODULE, 692 .owner = THIS_MODULE,
693 }, 693 },
694 .probe = ak4671_i2c_probe, 694 .probe = ak4671_i2c_probe,
695 .remove = __devexit_p(ak4671_i2c_remove), 695 .remove = ak4671_i2c_remove,
696 .id_table = ak4671_i2c_id, 696 .id_table = ak4671_i2c_id,
697}; 697};
698 698