diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-21 18:03:15 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-03 18:57:14 -0500 |
commit | 612b95cd7926d1a583e68f12e10b44b7ac80ca17 (patch) | |
tree | e7418eedd95f09adf88675ef89e6abdc465a45df /drivers/mfd/retu-mfd.c | |
parent | f568f6ca811fe681ecfd11c4ce78b6aa488020c0 (diff) |
Drivers: mfd: remove __dev* attributes.
CONFIG_HOTPLUG is going away as an option. As a result, the __dev*
markings need to be removed.
This change removes the use of __devinit, __devexit_p, __devinitdata,
__devinitconst, and __devexit from these drivers.
Based on patches originally written by Bill Pemberton, but redone by me
in order to handle some of the coding style issues better, by hand.
Cc: Bill Pemberton <wfp5p@virginia.edu>
Cc: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/mfd/retu-mfd.c')
-rw-r--r-- | drivers/mfd/retu-mfd.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/mfd/retu-mfd.c b/drivers/mfd/retu-mfd.c index 7ff4a37ab0c0..3ba048655bf3 100644 --- a/drivers/mfd/retu-mfd.c +++ b/drivers/mfd/retu-mfd.c | |||
@@ -171,8 +171,7 @@ static struct regmap_config retu_config = { | |||
171 | .val_bits = 16, | 171 | .val_bits = 16, |
172 | }; | 172 | }; |
173 | 173 | ||
174 | static int __devinit retu_probe(struct i2c_client *i2c, | 174 | static int retu_probe(struct i2c_client *i2c, const struct i2c_device_id *id) |
175 | const struct i2c_device_id *id) | ||
176 | { | 175 | { |
177 | struct retu_dev *rdev; | 176 | struct retu_dev *rdev; |
178 | int ret; | 177 | int ret; |
@@ -225,7 +224,7 @@ static int __devinit retu_probe(struct i2c_client *i2c, | |||
225 | return 0; | 224 | return 0; |
226 | } | 225 | } |
227 | 226 | ||
228 | static int __devexit retu_remove(struct i2c_client *i2c) | 227 | static int retu_remove(struct i2c_client *i2c) |
229 | { | 228 | { |
230 | struct retu_dev *rdev = i2c_get_clientdata(i2c); | 229 | struct retu_dev *rdev = i2c_get_clientdata(i2c); |
231 | 230 | ||