aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/mfd/ab3550-core.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/mfd/ab3550-core.c b/drivers/mfd/ab3550-core.c
index 56ba1943c91d..882ea7192d8b 100644
--- a/drivers/mfd/ab3550-core.c
+++ b/drivers/mfd/ab3550-core.c
@@ -1086,7 +1086,7 @@ static inline void ab3550_remove_debugfs(void)
1086 * This sets up a default config in the AB3550 chip so that it 1086 * This sets up a default config in the AB3550 chip so that it
1087 * will work as expected. 1087 * will work as expected.
1088 */ 1088 */
1089static int __init ab3550_setup(struct ab3550 *ab) 1089static int __devinit ab3550_setup(struct ab3550 *ab)
1090{ 1090{
1091 int err = 0; 1091 int err = 0;
1092 int i; 1092 int i;
@@ -1193,7 +1193,7 @@ struct ab_family_id {
1193 char *name; 1193 char *name;
1194}; 1194};
1195 1195
1196static const struct ab_family_id ids[] __initdata = { 1196static const struct ab_family_id ids[] __devinitconst = {
1197 /* AB3550 */ 1197 /* AB3550 */
1198 { 1198 {
1199 .id = AB3550_P1A, 1199 .id = AB3550_P1A,
@@ -1205,7 +1205,7 @@ static const struct ab_family_id ids[] __initdata = {
1205 } 1205 }
1206}; 1206};
1207 1207
1208static int __init ab3550_probe(struct i2c_client *client, 1208static int __devinit ab3550_probe(struct i2c_client *client,
1209 const struct i2c_device_id *id) 1209 const struct i2c_device_id *id)
1210{ 1210{
1211 struct ab3550 *ab; 1211 struct ab3550 *ab;
@@ -1326,7 +1326,7 @@ exit_no_detect:
1326 return err; 1326 return err;
1327} 1327}
1328 1328
1329static int __exit ab3550_remove(struct i2c_client *client) 1329static int __devexit ab3550_remove(struct i2c_client *client)
1330{ 1330{
1331 struct ab3550 *ab = i2c_get_clientdata(client); 1331 struct ab3550 *ab = i2c_get_clientdata(client);
1332 int num_i2c_clients = AB3550_NUM_BANKS; 1332 int num_i2c_clients = AB3550_NUM_BANKS;
@@ -1359,7 +1359,7 @@ static struct i2c_driver ab3550_driver = {
1359 }, 1359 },
1360 .id_table = ab3550_id, 1360 .id_table = ab3550_id,
1361 .probe = ab3550_probe, 1361 .probe = ab3550_probe,
1362 .remove = __exit_p(ab3550_remove), 1362 .remove = __devexit_p(ab3550_remove),
1363}; 1363};
1364 1364
1365static int __init ab3550_i2c_init(void) 1365static int __init ab3550_i2c_init(void)