diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-11-19 13:23:04 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-28 15:20:19 -0500 |
commit | f791be492f76dea7b0641ed227a60eeb2fa7e255 (patch) | |
tree | 1b5348c9b5b47e0927d66cba269a441ac653e564 /drivers/mfd/tc3589x.c | |
parent | 84449216b01f9c2b4c9b1882f9d6abba07b7b7ca (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/tc3589x.c')
-rw-r--r-- | drivers/mfd/tc3589x.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mfd/tc3589x.c b/drivers/mfd/tc3589x.c index 553ce956da6d..7e197f788b0a 100644 --- a/drivers/mfd/tc3589x.c +++ b/drivers/mfd/tc3589x.c | |||
@@ -282,7 +282,7 @@ static int tc3589x_chip_init(struct tc3589x *tc3589x) | |||
282 | return tc3589x_reg_write(tc3589x, TC3589x_RSTINTCLR, 0x1); | 282 | return tc3589x_reg_write(tc3589x, TC3589x_RSTINTCLR, 0x1); |
283 | } | 283 | } |
284 | 284 | ||
285 | static int __devinit tc3589x_device_init(struct tc3589x *tc3589x) | 285 | static int tc3589x_device_init(struct tc3589x *tc3589x) |
286 | { | 286 | { |
287 | int ret = 0; | 287 | int ret = 0; |
288 | unsigned int blocks = tc3589x->pdata->block; | 288 | unsigned int blocks = tc3589x->pdata->block; |
@@ -329,7 +329,7 @@ static int tc3589x_of_probe(struct device_node *np, | |||
329 | return 0; | 329 | return 0; |
330 | } | 330 | } |
331 | 331 | ||
332 | static int __devinit tc3589x_probe(struct i2c_client *i2c, | 332 | static int tc3589x_probe(struct i2c_client *i2c, |
333 | const struct i2c_device_id *id) | 333 | const struct i2c_device_id *id) |
334 | { | 334 | { |
335 | struct tc3589x_platform_data *pdata = i2c->dev.platform_data; | 335 | struct tc3589x_platform_data *pdata = i2c->dev.platform_data; |