aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm1250-ev1.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/codecs/wm1250-ev1.c')
-rw-r--r--sound/soc/codecs/wm1250-ev1.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sound/soc/codecs/wm1250-ev1.c b/sound/soc/codecs/wm1250-ev1.c
index 951d7b49476a..6e6b93d4696e 100644
--- a/sound/soc/codecs/wm1250-ev1.c
+++ b/sound/soc/codecs/wm1250-ev1.c
@@ -153,7 +153,7 @@ static struct snd_soc_codec_driver soc_codec_dev_wm1250_ev1 = {
153 .idle_bias_off = true, 153 .idle_bias_off = true,
154}; 154};
155 155
156static int __devinit wm1250_ev1_pdata(struct i2c_client *i2c) 156static int wm1250_ev1_pdata(struct i2c_client *i2c)
157{ 157{
158 struct wm1250_ev1_pdata *pdata = dev_get_platdata(&i2c->dev); 158 struct wm1250_ev1_pdata *pdata = dev_get_platdata(&i2c->dev);
159 struct wm1250_priv *wm1250; 159 struct wm1250_priv *wm1250;
@@ -199,8 +199,8 @@ static void wm1250_ev1_free(struct i2c_client *i2c)
199 gpio_free_array(wm1250->gpios, ARRAY_SIZE(wm1250->gpios)); 199 gpio_free_array(wm1250->gpios, ARRAY_SIZE(wm1250->gpios));
200} 200}
201 201
202static int __devinit wm1250_ev1_probe(struct i2c_client *i2c, 202static int wm1250_ev1_probe(struct i2c_client *i2c,
203 const struct i2c_device_id *i2c_id) 203 const struct i2c_device_id *i2c_id)
204{ 204{
205 int id, board, rev, ret; 205 int id, board, rev, ret;
206 206
@@ -237,7 +237,7 @@ static int __devinit wm1250_ev1_probe(struct i2c_client *i2c,
237 return 0; 237 return 0;
238} 238}
239 239
240static int __devexit wm1250_ev1_remove(struct i2c_client *i2c) 240static int wm1250_ev1_remove(struct i2c_client *i2c)
241{ 241{
242 snd_soc_unregister_codec(&i2c->dev); 242 snd_soc_unregister_codec(&i2c->dev);
243 wm1250_ev1_free(i2c); 243 wm1250_ev1_free(i2c);
@@ -257,7 +257,7 @@ static struct i2c_driver wm1250_ev1_i2c_driver = {
257 .owner = THIS_MODULE, 257 .owner = THIS_MODULE,
258 }, 258 },
259 .probe = wm1250_ev1_probe, 259 .probe = wm1250_ev1_probe,
260 .remove = __devexit_p(wm1250_ev1_remove), 260 .remove = wm1250_ev1_remove,
261 .id_table = wm1250_ev1_i2c_id, 261 .id_table = wm1250_ev1_i2c_id,
262}; 262};
263 263