diff options
Diffstat (limited to 'drivers/mfd/ab3100-core.c')
-rw-r--r-- | drivers/mfd/ab3100-core.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/drivers/mfd/ab3100-core.c b/drivers/mfd/ab3100-core.c index 2b3dde571a50..2ec7725f4a08 100644 --- a/drivers/mfd/ab3100-core.c +++ b/drivers/mfd/ab3100-core.c | |||
@@ -661,8 +661,7 @@ struct ab3100_init_setting { | |||
661 | u8 setting; | 661 | u8 setting; |
662 | }; | 662 | }; |
663 | 663 | ||
664 | static const struct ab3100_init_setting __devinitconst | 664 | static const struct ab3100_init_setting ab3100_init_settings[] = { |
665 | ab3100_init_settings[] = { | ||
666 | { | 665 | { |
667 | .abreg = AB3100_MCA, | 666 | .abreg = AB3100_MCA, |
668 | .setting = 0x01 | 667 | .setting = 0x01 |
@@ -708,7 +707,7 @@ ab3100_init_settings[] = { | |||
708 | }, | 707 | }, |
709 | }; | 708 | }; |
710 | 709 | ||
711 | static int __devinit ab3100_setup(struct ab3100 *ab3100) | 710 | static int ab3100_setup(struct ab3100 *ab3100) |
712 | { | 711 | { |
713 | int err = 0; | 712 | int err = 0; |
714 | int i; | 713 | int i; |
@@ -803,7 +802,7 @@ struct ab_family_id { | |||
803 | char *name; | 802 | char *name; |
804 | }; | 803 | }; |
805 | 804 | ||
806 | static const struct ab_family_id ids[] __devinitconst = { | 805 | static const struct ab_family_id ids[] = { |
807 | /* AB3100 */ | 806 | /* AB3100 */ |
808 | { | 807 | { |
809 | .id = 0xc0, | 808 | .id = 0xc0, |
@@ -857,7 +856,7 @@ static const struct ab_family_id ids[] __devinitconst = { | |||
857 | }, | 856 | }, |
858 | }; | 857 | }; |
859 | 858 | ||
860 | static int __devinit ab3100_probe(struct i2c_client *client, | 859 | static int ab3100_probe(struct i2c_client *client, |
861 | const struct i2c_device_id *id) | 860 | const struct i2c_device_id *id) |
862 | { | 861 | { |
863 | struct ab3100 *ab3100; | 862 | struct ab3100 *ab3100; |
@@ -962,7 +961,7 @@ static int __devinit ab3100_probe(struct i2c_client *client, | |||
962 | return err; | 961 | return err; |
963 | } | 962 | } |
964 | 963 | ||
965 | static int __devexit ab3100_remove(struct i2c_client *client) | 964 | static int ab3100_remove(struct i2c_client *client) |
966 | { | 965 | { |
967 | struct ab3100 *ab3100 = i2c_get_clientdata(client); | 966 | struct ab3100 *ab3100 = i2c_get_clientdata(client); |
968 | 967 | ||
@@ -986,7 +985,7 @@ static struct i2c_driver ab3100_driver = { | |||
986 | }, | 985 | }, |
987 | .id_table = ab3100_id, | 986 | .id_table = ab3100_id, |
988 | .probe = ab3100_probe, | 987 | .probe = ab3100_probe, |
989 | .remove = __devexit_p(ab3100_remove), | 988 | .remove = ab3100_remove, |
990 | }; | 989 | }; |
991 | 990 | ||
992 | static int __init ab3100_i2c_init(void) | 991 | static int __init ab3100_i2c_init(void) |