aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8900.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/wm8900.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/wm8900.c')
-rw-r--r--sound/soc/codecs/wm8900.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/sound/soc/codecs/wm8900.c b/sound/soc/codecs/wm8900.c
index e781f865e5d7..7c8257c5a17b 100644
--- a/sound/soc/codecs/wm8900.c
+++ b/sound/soc/codecs/wm8900.c
@@ -1247,7 +1247,7 @@ static const struct regmap_config wm8900_regmap = {
1247}; 1247};
1248 1248
1249#if defined(CONFIG_SPI_MASTER) 1249#if defined(CONFIG_SPI_MASTER)
1250static int __devinit wm8900_spi_probe(struct spi_device *spi) 1250static int wm8900_spi_probe(struct spi_device *spi)
1251{ 1251{
1252 struct wm8900_priv *wm8900; 1252 struct wm8900_priv *wm8900;
1253 int ret; 1253 int ret;
@@ -1269,7 +1269,7 @@ static int __devinit wm8900_spi_probe(struct spi_device *spi)
1269 return ret; 1269 return ret;
1270} 1270}
1271 1271
1272static int __devexit wm8900_spi_remove(struct spi_device *spi) 1272static int wm8900_spi_remove(struct spi_device *spi)
1273{ 1273{
1274 snd_soc_unregister_codec(&spi->dev); 1274 snd_soc_unregister_codec(&spi->dev);
1275 return 0; 1275 return 0;
@@ -1281,13 +1281,13 @@ static struct spi_driver wm8900_spi_driver = {
1281 .owner = THIS_MODULE, 1281 .owner = THIS_MODULE,
1282 }, 1282 },
1283 .probe = wm8900_spi_probe, 1283 .probe = wm8900_spi_probe,
1284 .remove = __devexit_p(wm8900_spi_remove), 1284 .remove = wm8900_spi_remove,
1285}; 1285};
1286#endif /* CONFIG_SPI_MASTER */ 1286#endif /* CONFIG_SPI_MASTER */
1287 1287
1288#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE) 1288#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
1289static __devinit int wm8900_i2c_probe(struct i2c_client *i2c, 1289static int wm8900_i2c_probe(struct i2c_client *i2c,
1290 const struct i2c_device_id *id) 1290 const struct i2c_device_id *id)
1291{ 1291{
1292 struct wm8900_priv *wm8900; 1292 struct wm8900_priv *wm8900;
1293 int ret; 1293 int ret;
@@ -1309,7 +1309,7 @@ static __devinit int wm8900_i2c_probe(struct i2c_client *i2c,
1309 return ret; 1309 return ret;
1310} 1310}
1311 1311
1312static __devexit int wm8900_i2c_remove(struct i2c_client *client) 1312static int wm8900_i2c_remove(struct i2c_client *client)
1313{ 1313{
1314 snd_soc_unregister_codec(&client->dev); 1314 snd_soc_unregister_codec(&client->dev);
1315 return 0; 1315 return 0;
@@ -1327,7 +1327,7 @@ static struct i2c_driver wm8900_i2c_driver = {
1327 .owner = THIS_MODULE, 1327 .owner = THIS_MODULE,
1328 }, 1328 },
1329 .probe = wm8900_i2c_probe, 1329 .probe = wm8900_i2c_probe,
1330 .remove = __devexit_p(wm8900_i2c_remove), 1330 .remove = wm8900_i2c_remove,
1331 .id_table = wm8900_i2c_id, 1331 .id_table = wm8900_i2c_id,
1332}; 1332};
1333#endif 1333#endif