diff options
Diffstat (limited to 'sound/soc/codecs/wm8985.c')
-rw-r--r-- | sound/soc/codecs/wm8985.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sound/soc/codecs/wm8985.c b/sound/soc/codecs/wm8985.c index 7b3f4097609b..ab3782657ac8 100644 --- a/sound/soc/codecs/wm8985.c +++ b/sound/soc/codecs/wm8985.c | |||
@@ -1111,7 +1111,7 @@ static const struct regmap_config wm8985_regmap = { | |||
1111 | }; | 1111 | }; |
1112 | 1112 | ||
1113 | #if defined(CONFIG_SPI_MASTER) | 1113 | #if defined(CONFIG_SPI_MASTER) |
1114 | static int __devinit wm8985_spi_probe(struct spi_device *spi) | 1114 | static int wm8985_spi_probe(struct spi_device *spi) |
1115 | { | 1115 | { |
1116 | struct wm8985_priv *wm8985; | 1116 | struct wm8985_priv *wm8985; |
1117 | int ret; | 1117 | int ret; |
@@ -1135,7 +1135,7 @@ static int __devinit wm8985_spi_probe(struct spi_device *spi) | |||
1135 | return ret; | 1135 | return ret; |
1136 | } | 1136 | } |
1137 | 1137 | ||
1138 | static int __devexit wm8985_spi_remove(struct spi_device *spi) | 1138 | static int wm8985_spi_remove(struct spi_device *spi) |
1139 | { | 1139 | { |
1140 | snd_soc_unregister_codec(&spi->dev); | 1140 | snd_soc_unregister_codec(&spi->dev); |
1141 | return 0; | 1141 | return 0; |
@@ -1147,13 +1147,13 @@ static struct spi_driver wm8985_spi_driver = { | |||
1147 | .owner = THIS_MODULE, | 1147 | .owner = THIS_MODULE, |
1148 | }, | 1148 | }, |
1149 | .probe = wm8985_spi_probe, | 1149 | .probe = wm8985_spi_probe, |
1150 | .remove = __devexit_p(wm8985_spi_remove) | 1150 | .remove = wm8985_spi_remove |
1151 | }; | 1151 | }; |
1152 | #endif | 1152 | #endif |
1153 | 1153 | ||
1154 | #if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE) | 1154 | #if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE) |
1155 | static __devinit int wm8985_i2c_probe(struct i2c_client *i2c, | 1155 | static int wm8985_i2c_probe(struct i2c_client *i2c, |
1156 | const struct i2c_device_id *id) | 1156 | const struct i2c_device_id *id) |
1157 | { | 1157 | { |
1158 | struct wm8985_priv *wm8985; | 1158 | struct wm8985_priv *wm8985; |
1159 | int ret; | 1159 | int ret; |
@@ -1177,7 +1177,7 @@ static __devinit int wm8985_i2c_probe(struct i2c_client *i2c, | |||
1177 | return ret; | 1177 | return ret; |
1178 | } | 1178 | } |
1179 | 1179 | ||
1180 | static __devexit int wm8985_i2c_remove(struct i2c_client *i2c) | 1180 | static int wm8985_i2c_remove(struct i2c_client *i2c) |
1181 | { | 1181 | { |
1182 | snd_soc_unregister_codec(&i2c->dev); | 1182 | snd_soc_unregister_codec(&i2c->dev); |
1183 | return 0; | 1183 | return 0; |
@@ -1195,7 +1195,7 @@ static struct i2c_driver wm8985_i2c_driver = { | |||
1195 | .owner = THIS_MODULE, | 1195 | .owner = THIS_MODULE, |
1196 | }, | 1196 | }, |
1197 | .probe = wm8985_i2c_probe, | 1197 | .probe = wm8985_i2c_probe, |
1198 | .remove = __devexit_p(wm8985_i2c_remove), | 1198 | .remove = wm8985_i2c_remove, |
1199 | .id_table = wm8985_i2c_id | 1199 | .id_table = wm8985_i2c_id |
1200 | }; | 1200 | }; |
1201 | #endif | 1201 | #endif |