aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8978.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/wm8978.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/wm8978.c')
-rw-r--r--sound/soc/codecs/wm8978.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/soc/codecs/wm8978.c b/sound/soc/codecs/wm8978.c
index ef467001c3d5..f347af3a67c2 100644
--- a/sound/soc/codecs/wm8978.c
+++ b/sound/soc/codecs/wm8978.c
@@ -1035,8 +1035,8 @@ static const struct regmap_config wm8978_regmap_config = {
1035 .num_reg_defaults = ARRAY_SIZE(wm8978_reg_defaults), 1035 .num_reg_defaults = ARRAY_SIZE(wm8978_reg_defaults),
1036}; 1036};
1037 1037
1038static __devinit int wm8978_i2c_probe(struct i2c_client *i2c, 1038static int wm8978_i2c_probe(struct i2c_client *i2c,
1039 const struct i2c_device_id *id) 1039 const struct i2c_device_id *id)
1040{ 1040{
1041 struct wm8978_priv *wm8978; 1041 struct wm8978_priv *wm8978;
1042 int ret; 1042 int ret;
@@ -1072,7 +1072,7 @@ static __devinit int wm8978_i2c_probe(struct i2c_client *i2c,
1072 return 0; 1072 return 0;
1073} 1073}
1074 1074
1075static __devexit int wm8978_i2c_remove(struct i2c_client *client) 1075static int wm8978_i2c_remove(struct i2c_client *client)
1076{ 1076{
1077 snd_soc_unregister_codec(&client->dev); 1077 snd_soc_unregister_codec(&client->dev);
1078 1078
@@ -1091,7 +1091,7 @@ static struct i2c_driver wm8978_i2c_driver = {
1091 .owner = THIS_MODULE, 1091 .owner = THIS_MODULE,
1092 }, 1092 },
1093 .probe = wm8978_i2c_probe, 1093 .probe = wm8978_i2c_probe,
1094 .remove = __devexit_p(wm8978_i2c_remove), 1094 .remove = wm8978_i2c_remove,
1095 .id_table = wm8978_i2c_id, 1095 .id_table = wm8978_i2c_id,
1096}; 1096};
1097 1097