diff options
Diffstat (limited to 'sound/soc/codecs/wm8978.c')
-rw-r--r-- | sound/soc/codecs/wm8978.c | 8 |
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 | ||
1038 | static __devinit int wm8978_i2c_probe(struct i2c_client *i2c, | 1038 | static 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 | ||
1075 | static __devexit int wm8978_i2c_remove(struct i2c_client *client) | 1075 | static 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 | ||