aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd/da903x.c
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-11-19 13:23:04 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-28 15:20:19 -0500
commitf791be492f76dea7b0641ed227a60eeb2fa7e255 (patch)
tree1b5348c9b5b47e0927d66cba269a441ac653e564 /drivers/mfd/da903x.c
parent84449216b01f9c2b4c9b1882f9d6abba07b7b7ca (diff)
mfd: remove use of __devinit
CONFIG_HOTPLUG is going away as an option so __devinit is no longer needed. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com> Cc: Peter Tyser <ptyser@xes-inc.com> Cc: Daniel Walker <dwalker@fifo99.com> Cc: Bryan Huntsman <bryanh@codeaurora.org> Acked-by: David Brown <davidb@codeaurora.org> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/mfd/da903x.c')
-rw-r--r--drivers/mfd/da903x.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mfd/da903x.c b/drivers/mfd/da903x.c
index c715475df377..5fa1e91a9532 100644
--- a/drivers/mfd/da903x.c
+++ b/drivers/mfd/da903x.c
@@ -246,7 +246,7 @@ int da903x_query_status(struct device *dev, unsigned int sbits)
246} 246}
247EXPORT_SYMBOL(da903x_query_status); 247EXPORT_SYMBOL(da903x_query_status);
248 248
249static int __devinit da9030_init_chip(struct da903x_chip *chip) 249static int da9030_init_chip(struct da903x_chip *chip)
250{ 250{
251 uint8_t chip_id; 251 uint8_t chip_id;
252 int err; 252 int err;
@@ -459,7 +459,7 @@ static int da903x_remove_subdevs(struct da903x_chip *chip)
459 return device_for_each_child(chip->dev, NULL, __remove_subdev); 459 return device_for_each_child(chip->dev, NULL, __remove_subdev);
460} 460}
461 461
462static int __devinit da903x_add_subdevs(struct da903x_chip *chip, 462static int da903x_add_subdevs(struct da903x_chip *chip,
463 struct da903x_platform_data *pdata) 463 struct da903x_platform_data *pdata)
464{ 464{
465 struct da903x_subdev_info *subdev; 465 struct da903x_subdev_info *subdev;
@@ -491,7 +491,7 @@ failed:
491 return ret; 491 return ret;
492} 492}
493 493
494static int __devinit da903x_probe(struct i2c_client *client, 494static int da903x_probe(struct i2c_client *client,
495 const struct i2c_device_id *id) 495 const struct i2c_device_id *id)
496{ 496{
497 struct da903x_platform_data *pdata = client->dev.platform_data; 497 struct da903x_platform_data *pdata = client->dev.platform_data;