aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd/htc-i2cpld.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/htc-i2cpld.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/htc-i2cpld.c')
-rw-r--r--drivers/mfd/htc-i2cpld.c12
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
330static int __devinit htcpld_setup_chip_irq( 330static 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
364static int __devinit htcpld_register_chip_i2c( 364static 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
422static void __devinit htcpld_unregister_chip_i2c( 422static 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
437static int __devinit htcpld_register_chip_gpio( 437static 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
504static int __devinit htcpld_setup_chips(struct platform_device *pdev) 504static 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
566static int __devinit htcpld_core_probe(struct platform_device *pdev) 566static 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;