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/htc-i2cpld.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/htc-i2cpld.c')
-rw-r--r-- | drivers/mfd/htc-i2cpld.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/mfd/htc-i2cpld.c b/drivers/mfd/htc-i2cpld.c index d55065cc324c..324187c0c124 100644 --- a/drivers/mfd/htc-i2cpld.c +++ b/drivers/mfd/htc-i2cpld.c | |||
@@ -327,7 +327,7 @@ static void htcpld_chip_reset(struct i2c_client *client) | |||
327 | client, (chip_data->cache_out = chip_data->reset)); | 327 | client, (chip_data->cache_out = chip_data->reset)); |
328 | } | 328 | } |
329 | 329 | ||
330 | static int __devinit htcpld_setup_chip_irq( | 330 | static int htcpld_setup_chip_irq( |
331 | struct platform_device *pdev, | 331 | struct platform_device *pdev, |
332 | int chip_index) | 332 | int chip_index) |
333 | { | 333 | { |
@@ -361,7 +361,7 @@ static int __devinit htcpld_setup_chip_irq( | |||
361 | return ret; | 361 | return ret; |
362 | } | 362 | } |
363 | 363 | ||
364 | static int __devinit htcpld_register_chip_i2c( | 364 | static int htcpld_register_chip_i2c( |
365 | struct platform_device *pdev, | 365 | struct platform_device *pdev, |
366 | int chip_index) | 366 | int chip_index) |
367 | { | 367 | { |
@@ -419,7 +419,7 @@ static int __devinit htcpld_register_chip_i2c( | |||
419 | return 0; | 419 | return 0; |
420 | } | 420 | } |
421 | 421 | ||
422 | static void __devinit htcpld_unregister_chip_i2c( | 422 | static void htcpld_unregister_chip_i2c( |
423 | struct platform_device *pdev, | 423 | struct platform_device *pdev, |
424 | int chip_index) | 424 | int chip_index) |
425 | { | 425 | { |
@@ -434,7 +434,7 @@ static void __devinit htcpld_unregister_chip_i2c( | |||
434 | i2c_unregister_device(chip->client); | 434 | i2c_unregister_device(chip->client); |
435 | } | 435 | } |
436 | 436 | ||
437 | static int __devinit htcpld_register_chip_gpio( | 437 | static int htcpld_register_chip_gpio( |
438 | struct platform_device *pdev, | 438 | struct platform_device *pdev, |
439 | int chip_index) | 439 | int chip_index) |
440 | { | 440 | { |
@@ -501,7 +501,7 @@ static int __devinit htcpld_register_chip_gpio( | |||
501 | return 0; | 501 | return 0; |
502 | } | 502 | } |
503 | 503 | ||
504 | static int __devinit htcpld_setup_chips(struct platform_device *pdev) | 504 | static int htcpld_setup_chips(struct platform_device *pdev) |
505 | { | 505 | { |
506 | struct htcpld_data *htcpld; | 506 | struct htcpld_data *htcpld; |
507 | struct device *dev = &pdev->dev; | 507 | struct device *dev = &pdev->dev; |
@@ -563,7 +563,7 @@ static int __devinit htcpld_setup_chips(struct platform_device *pdev) | |||
563 | return 0; | 563 | return 0; |
564 | } | 564 | } |
565 | 565 | ||
566 | static int __devinit htcpld_core_probe(struct platform_device *pdev) | 566 | static int htcpld_core_probe(struct platform_device *pdev) |
567 | { | 567 | { |
568 | struct htcpld_data *htcpld; | 568 | struct htcpld_data *htcpld; |
569 | struct device *dev = &pdev->dev; | 569 | struct device *dev = &pdev->dev; |