aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd/lm3533-core.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/lm3533-core.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/lm3533-core.c')
-rw-r--r--drivers/mfd/lm3533-core.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/mfd/lm3533-core.c b/drivers/mfd/lm3533-core.c
index e7aa2a5a826b..2b74508655d4 100644
--- a/drivers/mfd/lm3533-core.c
+++ b/drivers/mfd/lm3533-core.c
@@ -382,7 +382,7 @@ static struct attribute_group lm3533_attribute_group = {
382 .attrs = lm3533_attributes 382 .attrs = lm3533_attributes
383}; 383};
384 384
385static int __devinit lm3533_device_als_init(struct lm3533 *lm3533) 385static int lm3533_device_als_init(struct lm3533 *lm3533)
386{ 386{
387 struct lm3533_platform_data *pdata = lm3533->dev->platform_data; 387 struct lm3533_platform_data *pdata = lm3533->dev->platform_data;
388 int ret; 388 int ret;
@@ -405,7 +405,7 @@ static int __devinit lm3533_device_als_init(struct lm3533 *lm3533)
405 return 0; 405 return 0;
406} 406}
407 407
408static int __devinit lm3533_device_bl_init(struct lm3533 *lm3533) 408static int lm3533_device_bl_init(struct lm3533 *lm3533)
409{ 409{
410 struct lm3533_platform_data *pdata = lm3533->dev->platform_data; 410 struct lm3533_platform_data *pdata = lm3533->dev->platform_data;
411 int i; 411 int i;
@@ -434,7 +434,7 @@ static int __devinit lm3533_device_bl_init(struct lm3533 *lm3533)
434 return 0; 434 return 0;
435} 435}
436 436
437static int __devinit lm3533_device_led_init(struct lm3533 *lm3533) 437static int lm3533_device_led_init(struct lm3533 *lm3533)
438{ 438{
439 struct lm3533_platform_data *pdata = lm3533->dev->platform_data; 439 struct lm3533_platform_data *pdata = lm3533->dev->platform_data;
440 int i; 440 int i;
@@ -463,7 +463,7 @@ static int __devinit lm3533_device_led_init(struct lm3533 *lm3533)
463 return 0; 463 return 0;
464} 464}
465 465
466static int __devinit lm3533_device_setup(struct lm3533 *lm3533, 466static int lm3533_device_setup(struct lm3533 *lm3533,
467 struct lm3533_platform_data *pdata) 467 struct lm3533_platform_data *pdata)
468{ 468{
469 int ret; 469 int ret;
@@ -479,7 +479,7 @@ static int __devinit lm3533_device_setup(struct lm3533 *lm3533,
479 return 0; 479 return 0;
480} 480}
481 481
482static int __devinit lm3533_device_init(struct lm3533 *lm3533) 482static int lm3533_device_init(struct lm3533 *lm3533)
483{ 483{
484 struct lm3533_platform_data *pdata = lm3533->dev->platform_data; 484 struct lm3533_platform_data *pdata = lm3533->dev->platform_data;
485 int ret; 485 int ret;
@@ -596,7 +596,7 @@ static struct regmap_config regmap_config = {
596 .precious_reg = lm3533_precious_register, 596 .precious_reg = lm3533_precious_register,
597}; 597};
598 598
599static int __devinit lm3533_i2c_probe(struct i2c_client *i2c, 599static int lm3533_i2c_probe(struct i2c_client *i2c,
600 const struct i2c_device_id *id) 600 const struct i2c_device_id *id)
601{ 601{
602 struct lm3533 *lm3533; 602 struct lm3533 *lm3533;