Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Bill Pemberton and committed by
Greg Kroah-Hartman
f791be49 84449216

+138 -138
+4 -4
drivers/mfd/88pm800.c
··· 248 248 }, 249 249 }; 250 250 251 - static int __devinit device_gpadc_init(struct pm80x_chip *chip, 251 + static int device_gpadc_init(struct pm80x_chip *chip, 252 252 struct pm80x_platform_data *pdata) 253 253 { 254 254 struct pm80x_subchip *subchip = chip->subchip; ··· 315 315 return ret; 316 316 } 317 317 318 - static int __devinit device_irq_init_800(struct pm80x_chip *chip) 318 + static int device_irq_init_800(struct pm80x_chip *chip) 319 319 { 320 320 struct regmap *map = chip->regmap; 321 321 unsigned long flags = IRQF_TRIGGER_FALLING | IRQF_ONESHOT; ··· 415 415 } 416 416 } 417 417 418 - static int __devinit device_800_init(struct pm80x_chip *chip, 418 + static int device_800_init(struct pm80x_chip *chip, 419 419 struct pm80x_platform_data *pdata) 420 420 { 421 421 int ret, pmic_id; ··· 499 499 return ret; 500 500 } 501 501 502 - static int __devinit pm800_probe(struct i2c_client *client, 502 + static int pm800_probe(struct i2c_client *client, 503 503 const struct i2c_device_id *id) 504 504 { 505 505 int ret = 0;
+3 -3
drivers/mfd/88pm805.c
··· 135 135 }, 136 136 }; 137 137 138 - static int __devinit device_irq_init_805(struct pm80x_chip *chip) 138 + static int device_irq_init_805(struct pm80x_chip *chip) 139 139 { 140 140 struct regmap *map = chip->regmap; 141 141 unsigned long flags = IRQF_TRIGGER_FALLING | IRQF_ONESHOT; ··· 189 189 .ack_base = PM805_INT_STATUS1, 190 190 }; 191 191 192 - static int __devinit device_805_init(struct pm80x_chip *chip) 192 + static int device_805_init(struct pm80x_chip *chip) 193 193 { 194 194 int ret = 0; 195 195 unsigned int val; ··· 232 232 return ret; 233 233 } 234 234 235 - static int __devinit pm805_probe(struct i2c_client *client, 235 + static int pm805_probe(struct i2c_client *client, 236 236 const struct i2c_device_id *id) 237 237 { 238 238 int ret = 0;
+1 -1
drivers/mfd/88pm80x.c
··· 31 31 }; 32 32 EXPORT_SYMBOL_GPL(pm80x_regmap_config); 33 33 34 - int __devinit pm80x_init(struct i2c_client *client, 34 + int pm80x_init(struct i2c_client *client, 35 35 const struct i2c_device_id *id) 36 36 { 37 37 struct pm80x_chip *chip;
+15 -15
drivers/mfd/88pm860x-core.c
··· 565 565 .xlate = irq_domain_xlate_onetwocell, 566 566 }; 567 567 568 - static int __devinit device_irq_init(struct pm860x_chip *chip, 568 + static int device_irq_init(struct pm860x_chip *chip, 569 569 struct pm860x_platform_data *pdata) 570 570 { 571 571 struct i2c_client *i2c = (chip->id == CHIP_PM8607) ? chip->client \ ··· 730 730 } 731 731 EXPORT_SYMBOL(pm8606_osc_disable); 732 732 733 - static void __devinit device_osc_init(struct i2c_client *i2c) 733 + static void device_osc_init(struct i2c_client *i2c) 734 734 { 735 735 struct pm860x_chip *chip = i2c_get_clientdata(i2c); 736 736 ··· 745 745 chip->osc_status = PM8606_REF_GP_OSC_OFF; 746 746 } 747 747 748 - static void __devinit device_bk_init(struct pm860x_chip *chip, 748 + static void device_bk_init(struct pm860x_chip *chip, 749 749 struct pm860x_platform_data *pdata) 750 750 { 751 751 int ret, i; ··· 765 765 dev_err(chip->dev, "Failed to add backlight subdev\n"); 766 766 } 767 767 768 - static void __devinit device_led_init(struct pm860x_chip *chip, 768 + static void device_led_init(struct pm860x_chip *chip, 769 769 struct pm860x_platform_data *pdata) 770 770 { 771 771 int ret, i; ··· 787 787 } 788 788 } 789 789 790 - static void __devinit device_regulator_init(struct pm860x_chip *chip, 790 + static void device_regulator_init(struct pm860x_chip *chip, 791 791 struct pm860x_platform_data *pdata) 792 792 { 793 793 int ret; ··· 866 866 } 867 867 } 868 868 869 - static void __devinit device_rtc_init(struct pm860x_chip *chip, 869 + static void device_rtc_init(struct pm860x_chip *chip, 870 870 struct pm860x_platform_data *pdata) 871 871 { 872 872 int ret; ··· 885 885 dev_err(chip->dev, "Failed to add rtc subdev\n"); 886 886 } 887 887 888 - static void __devinit device_touch_init(struct pm860x_chip *chip, 888 + static void device_touch_init(struct pm860x_chip *chip, 889 889 struct pm860x_platform_data *pdata) 890 890 { 891 891 int ret; ··· 904 904 dev_err(chip->dev, "Failed to add touch subdev\n"); 905 905 } 906 906 907 - static void __devinit device_power_init(struct pm860x_chip *chip, 907 + static void device_power_init(struct pm860x_chip *chip, 908 908 struct pm860x_platform_data *pdata) 909 909 { 910 910 int ret; ··· 951 951 } 952 952 } 953 953 954 - static void __devinit device_onkey_init(struct pm860x_chip *chip, 954 + static void device_onkey_init(struct pm860x_chip *chip, 955 955 struct pm860x_platform_data *pdata) 956 956 { 957 957 int ret; ··· 965 965 dev_err(chip->dev, "Failed to add onkey subdev\n"); 966 966 } 967 967 968 - static void __devinit device_codec_init(struct pm860x_chip *chip, 968 + static void device_codec_init(struct pm860x_chip *chip, 969 969 struct pm860x_platform_data *pdata) 970 970 { 971 971 int ret; ··· 979 979 dev_err(chip->dev, "Failed to add codec subdev\n"); 980 980 } 981 981 982 - static void __devinit device_8607_init(struct pm860x_chip *chip, 982 + static void device_8607_init(struct pm860x_chip *chip, 983 983 struct i2c_client *i2c, 984 984 struct pm860x_platform_data *pdata) 985 985 { ··· 1040 1040 return; 1041 1041 } 1042 1042 1043 - static void __devinit device_8606_init(struct pm860x_chip *chip, 1043 + static void device_8606_init(struct pm860x_chip *chip, 1044 1044 struct i2c_client *i2c, 1045 1045 struct pm860x_platform_data *pdata) 1046 1046 { ··· 1049 1049 device_led_init(chip, pdata); 1050 1050 } 1051 1051 1052 - static int __devinit pm860x_device_init(struct pm860x_chip *chip, 1052 + static int pm860x_device_init(struct pm860x_chip *chip, 1053 1053 struct pm860x_platform_data *pdata) 1054 1054 { 1055 1055 chip->core_irq = 0; ··· 1109 1109 .val_bits = 8, 1110 1110 }; 1111 1111 1112 - static int __devinit pm860x_dt_init(struct device_node *np, 1112 + static int pm860x_dt_init(struct device_node *np, 1113 1113 struct device *dev, 1114 1114 struct pm860x_platform_data *pdata) 1115 1115 { ··· 1127 1127 return 0; 1128 1128 } 1129 1129 1130 - static int __devinit pm860x_probe(struct i2c_client *client, 1130 + static int pm860x_probe(struct i2c_client *client, 1131 1131 const struct i2c_device_id *id) 1132 1132 { 1133 1133 struct pm860x_platform_data *pdata = client->dev.platform_data;
+2 -2
drivers/mfd/ab3100-core.c
··· 708 708 }, 709 709 }; 710 710 711 - static int __devinit ab3100_setup(struct ab3100 *ab3100) 711 + static int ab3100_setup(struct ab3100 *ab3100) 712 712 { 713 713 int err = 0; 714 714 int i; ··· 857 857 }, 858 858 }; 859 859 860 - static int __devinit ab3100_probe(struct i2c_client *client, 860 + static int ab3100_probe(struct i2c_client *client, 861 861 const struct i2c_device_id *id) 862 862 { 863 863 struct ab3100 *ab3100;
+1 -1
drivers/mfd/ab8500-core.c
··· 1248 1248 .attrs = ab9540_sysfs_entries, 1249 1249 }; 1250 1250 1251 - static int __devinit ab8500_probe(struct platform_device *pdev) 1251 + static int ab8500_probe(struct platform_device *pdev) 1252 1252 { 1253 1253 static char *switch_off_status[] = { 1254 1254 "Swoff bit programming",
+1 -1
drivers/mfd/ab8500-debugfs.c
··· 552 552 static struct dentry *ab8500_address_file; 553 553 static struct dentry *ab8500_val_file; 554 554 555 - static int __devinit ab8500_debug_probe(struct platform_device *plf) 555 + static int ab8500_debug_probe(struct platform_device *plf) 556 556 { 557 557 debug_bank = AB8500_MISC; 558 558 debug_address = AB8500_REV_REG & 0x00FF;
+1 -1
drivers/mfd/ab8500-gpadc.c
··· 571 571 gpadc->cal_data[ADC_INPUT_VBAT].offset); 572 572 } 573 573 574 - static int __devinit ab8500_gpadc_probe(struct platform_device *pdev) 574 + static int ab8500_gpadc_probe(struct platform_device *pdev) 575 575 { 576 576 int ret = 0; 577 577 struct ab8500_gpadc *gpadc;
+1 -1
drivers/mfd/ab8500-sysctrl.c
··· 49 49 (u8)(reg & 0xFF), mask, value); 50 50 } 51 51 52 - static int __devinit ab8500_sysctrl_probe(struct platform_device *pdev) 52 + static int ab8500_sysctrl_probe(struct platform_device *pdev) 53 53 { 54 54 sysctrl_dev = &pdev->dev; 55 55 return 0;
+1 -1
drivers/mfd/adp5520.c
··· 203 203 return device_for_each_child(chip->dev, NULL, __remove_subdev); 204 204 } 205 205 206 - static int __devinit adp5520_probe(struct i2c_client *client, 206 + static int adp5520_probe(struct i2c_client *client, 207 207 const struct i2c_device_id *id) 208 208 { 209 209 struct adp5520_platform_data *pdata = client->dev.platform_data;
+1 -1
drivers/mfd/arizona-core.c
··· 285 285 { .name = "wm5110-codec" }, 286 286 }; 287 287 288 - int __devinit arizona_dev_init(struct arizona *arizona) 288 + int arizona_dev_init(struct arizona *arizona) 289 289 { 290 290 struct device *dev = arizona->dev; 291 291 const char *type_name;
+1 -1
drivers/mfd/arizona-i2c.c
··· 22 22 23 23 #include "arizona.h" 24 24 25 - static __devinit int arizona_i2c_probe(struct i2c_client *i2c, 25 + static int arizona_i2c_probe(struct i2c_client *i2c, 26 26 const struct i2c_device_id *id) 27 27 { 28 28 struct arizona *arizona;
+1 -1
drivers/mfd/arizona-spi.c
··· 22 22 23 23 #include "arizona.h" 24 24 25 - static int __devinit arizona_spi_probe(struct spi_device *spi) 25 + static int arizona_spi_probe(struct spi_device *spi) 26 26 { 27 27 const struct spi_device_id *id = spi_get_device_id(spi); 28 28 struct arizona *arizona;
+2 -2
drivers/mfd/cs5535-mfd.c
··· 113 113 }; 114 114 115 115 #ifdef CONFIG_OLPC 116 - static void __devinit cs5535_clone_olpc_cells(void) 116 + static void cs5535_clone_olpc_cells(void) 117 117 { 118 118 const char *acpi_clones[] = { "olpc-xo1-pm-acpi", "olpc-xo1-sci-acpi" }; 119 119 ··· 126 126 static void cs5535_clone_olpc_cells(void) { } 127 127 #endif 128 128 129 - static int __devinit cs5535_mfd_probe(struct pci_dev *pdev, 129 + static int cs5535_mfd_probe(struct pci_dev *pdev, 130 130 const struct pci_device_id *id) 131 131 { 132 132 int err, i;
+3 -3
drivers/mfd/da903x.c
··· 246 246 } 247 247 EXPORT_SYMBOL(da903x_query_status); 248 248 249 - static int __devinit da9030_init_chip(struct da903x_chip *chip) 249 + static int da9030_init_chip(struct da903x_chip *chip) 250 250 { 251 251 uint8_t chip_id; 252 252 int err; ··· 459 459 return device_for_each_child(chip->dev, NULL, __remove_subdev); 460 460 } 461 461 462 - static int __devinit da903x_add_subdevs(struct da903x_chip *chip, 462 + static int da903x_add_subdevs(struct da903x_chip *chip, 463 463 struct da903x_platform_data *pdata) 464 464 { 465 465 struct da903x_subdev_info *subdev; ··· 491 491 return ret; 492 492 } 493 493 494 - static int __devinit da903x_probe(struct i2c_client *client, 494 + static int da903x_probe(struct i2c_client *client, 495 495 const struct i2c_device_id *id) 496 496 { 497 497 struct da903x_platform_data *pdata = client->dev.platform_data;
+1 -1
drivers/mfd/da9052-core.c
··· 769 769 }; 770 770 EXPORT_SYMBOL_GPL(da9052_regmap_config); 771 771 772 - int __devinit da9052_device_init(struct da9052 *da9052, u8 chip_id) 772 + int da9052_device_init(struct da9052 *da9052, u8 chip_id) 773 773 { 774 774 struct da9052_pdata *pdata = da9052->dev->platform_data; 775 775 int ret;
+1 -1
drivers/mfd/da9052-i2c.c
··· 64 64 }; 65 65 #endif 66 66 67 - static int __devinit da9052_i2c_probe(struct i2c_client *client, 67 + static int da9052_i2c_probe(struct i2c_client *client, 68 68 const struct i2c_device_id *id) 69 69 { 70 70 struct da9052 *da9052;
+1 -1
drivers/mfd/da9052-spi.c
··· 21 21 22 22 #include <linux/mfd/da9052/da9052.h> 23 23 24 - static int __devinit da9052_spi_probe(struct spi_device *spi) 24 + static int da9052_spi_probe(struct spi_device *spi) 25 25 { 26 26 int ret; 27 27 const struct spi_device_id *id = spi_get_device_id(spi);
+1 -1
drivers/mfd/da9055-core.c
··· 377 377 .num_irqs = ARRAY_SIZE(da9055_irqs), 378 378 }; 379 379 380 - int __devinit da9055_device_init(struct da9055 *da9055) 380 + int da9055_device_init(struct da9055 *da9055) 381 381 { 382 382 struct da9055_pdata *pdata = da9055->dev->platform_data; 383 383 int ret;
+1 -1
drivers/mfd/da9055-i2c.c
··· 18 18 19 19 #include <linux/mfd/da9055/core.h> 20 20 21 - static int __devinit da9055_i2c_probe(struct i2c_client *i2c, 21 + static int da9055_i2c_probe(struct i2c_client *i2c, 22 22 const struct i2c_device_id *id) 23 23 { 24 24 struct da9055 *da9055;
+1 -1
drivers/mfd/db8500-prcmu.c
··· 3034 3034 * prcmu_fw_init - arch init call for the Linux PRCMU fw init logic 3035 3035 * 3036 3036 */ 3037 - static int __devinit db8500_prcmu_probe(struct platform_device *pdev) 3037 + static int db8500_prcmu_probe(struct platform_device *pdev) 3038 3038 { 3039 3039 struct ab8500_platform_data *ab8500_platdata = pdev->dev.platform_data; 3040 3040 struct device_node *np = pdev->dev.of_node;
+2 -2
drivers/mfd/ezx-pcap.c
··· 371 371 return 0; 372 372 } 373 373 374 - static int __devinit pcap_add_subdev(struct pcap_chip *pcap, 374 + static int pcap_add_subdev(struct pcap_chip *pcap, 375 375 struct pcap_subdev *subdev) 376 376 { 377 377 struct platform_device *pdev; ··· 420 420 return 0; 421 421 } 422 422 423 - static int __devinit ezx_pcap_probe(struct spi_device *spi) 423 + static int ezx_pcap_probe(struct spi_device *spi) 424 424 { 425 425 struct pcap_platform_data *pdata = spi->dev.platform_data; 426 426 struct pcap_chip *pcap;
+6 -6
drivers/mfd/htc-i2cpld.c
··· 327 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 331 struct platform_device *pdev, 332 332 int chip_index) 333 333 { ··· 361 361 return ret; 362 362 } 363 363 364 - static int __devinit htcpld_register_chip_i2c( 364 + static int htcpld_register_chip_i2c( 365 365 struct platform_device *pdev, 366 366 int chip_index) 367 367 { ··· 419 419 return 0; 420 420 } 421 421 422 - static void __devinit htcpld_unregister_chip_i2c( 422 + static void htcpld_unregister_chip_i2c( 423 423 struct platform_device *pdev, 424 424 int chip_index) 425 425 { ··· 434 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 438 struct platform_device *pdev, 439 439 int chip_index) 440 440 { ··· 501 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 506 struct htcpld_data *htcpld; 507 507 struct device *dev = &pdev->dev; ··· 563 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 568 struct htcpld_data *htcpld; 569 569 struct device *dev = &pdev->dev;
+2 -2
drivers/mfd/intel_msic.c
··· 306 306 } 307 307 EXPORT_SYMBOL_GPL(intel_msic_irq_read); 308 308 309 - static int __devinit intel_msic_init_devices(struct intel_msic *msic) 309 + static int intel_msic_init_devices(struct intel_msic *msic) 310 310 { 311 311 struct platform_device *pdev = msic->pdev; 312 312 struct intel_msic_platform_data *pdata = pdev->dev.platform_data; ··· 375 375 gpio_free(pdata->ocd->gpio); 376 376 } 377 377 378 - static int __devinit intel_msic_probe(struct platform_device *pdev) 378 + static int intel_msic_probe(struct platform_device *pdev) 379 379 { 380 380 struct intel_msic_platform_data *pdata = pdev->dev.platform_data; 381 381 struct intel_msic *msic;
+3 -3
drivers/mfd/janz-cmodio.c
··· 63 63 * Subdevices using the mfd-core API 64 64 */ 65 65 66 - static int __devinit cmodio_setup_subdevice(struct cmodio_device *priv, 66 + static int cmodio_setup_subdevice(struct cmodio_device *priv, 67 67 char *name, unsigned int devno, 68 68 unsigned int modno) 69 69 { ··· 120 120 } 121 121 122 122 /* Probe each submodule using kernel parameters */ 123 - static int __devinit cmodio_probe_submodules(struct cmodio_device *priv) 123 + static int cmodio_probe_submodules(struct cmodio_device *priv) 124 124 { 125 125 struct pci_dev *pdev = priv->pdev; 126 126 unsigned int num_probed = 0; ··· 177 177 * PCI Driver 178 178 */ 179 179 180 - static int __devinit cmodio_pci_probe(struct pci_dev *dev, 180 + static int cmodio_pci_probe(struct pci_dev *dev, 181 181 const struct pci_device_id *id) 182 182 { 183 183 struct cmodio_device *priv;
+1 -1
drivers/mfd/jz4740-adc.c
··· 202 202 }, 203 203 }; 204 204 205 - static int __devinit jz4740_adc_probe(struct platform_device *pdev) 205 + static int jz4740_adc_probe(struct platform_device *pdev) 206 206 { 207 207 struct irq_chip_generic *gc; 208 208 struct irq_chip_type *ct;
+6 -6
drivers/mfd/lm3533-core.c
··· 382 382 .attrs = lm3533_attributes 383 383 }; 384 384 385 - static int __devinit lm3533_device_als_init(struct lm3533 *lm3533) 385 + static int lm3533_device_als_init(struct lm3533 *lm3533) 386 386 { 387 387 struct lm3533_platform_data *pdata = lm3533->dev->platform_data; 388 388 int ret; ··· 405 405 return 0; 406 406 } 407 407 408 - static int __devinit lm3533_device_bl_init(struct lm3533 *lm3533) 408 + static int lm3533_device_bl_init(struct lm3533 *lm3533) 409 409 { 410 410 struct lm3533_platform_data *pdata = lm3533->dev->platform_data; 411 411 int i; ··· 434 434 return 0; 435 435 } 436 436 437 - static int __devinit lm3533_device_led_init(struct lm3533 *lm3533) 437 + static int lm3533_device_led_init(struct lm3533 *lm3533) 438 438 { 439 439 struct lm3533_platform_data *pdata = lm3533->dev->platform_data; 440 440 int i; ··· 463 463 return 0; 464 464 } 465 465 466 - static int __devinit lm3533_device_setup(struct lm3533 *lm3533, 466 + static int lm3533_device_setup(struct lm3533 *lm3533, 467 467 struct lm3533_platform_data *pdata) 468 468 { 469 469 int ret; ··· 479 479 return 0; 480 480 } 481 481 482 - static int __devinit lm3533_device_init(struct lm3533 *lm3533) 482 + static int lm3533_device_init(struct lm3533 *lm3533) 483 483 { 484 484 struct lm3533_platform_data *pdata = lm3533->dev->platform_data; 485 485 int ret; ··· 596 596 .precious_reg = lm3533_precious_register, 597 597 }; 598 598 599 - static int __devinit lm3533_i2c_probe(struct i2c_client *i2c, 599 + static int lm3533_i2c_probe(struct i2c_client *i2c, 600 600 const struct i2c_device_id *id) 601 601 { 602 602 struct lm3533 *lm3533;
+7 -7
drivers/mfd/lpc_ich.c
··· 672 672 } 673 673 } 674 674 675 - static void __devinit lpc_ich_enable_acpi_space(struct pci_dev *dev) 675 + static void lpc_ich_enable_acpi_space(struct pci_dev *dev) 676 676 { 677 677 u8 reg_save; 678 678 ··· 681 681 lpc_ich_acpi_save = reg_save; 682 682 } 683 683 684 - static void __devinit lpc_ich_enable_gpio_space(struct pci_dev *dev) 684 + static void lpc_ich_enable_gpio_space(struct pci_dev *dev) 685 685 { 686 686 u8 reg_save; 687 687 ··· 690 690 lpc_ich_gpio_save = reg_save; 691 691 } 692 692 693 - static void __devinit lpc_ich_finalize_cell(struct mfd_cell *cell, 693 + static void lpc_ich_finalize_cell(struct mfd_cell *cell, 694 694 const struct pci_device_id *id) 695 695 { 696 696 cell->platform_data = &lpc_chipset_info[id->driver_data]; ··· 702 702 * GPIO groups and it's enough to have access to one of these to instantiate 703 703 * the device. 704 704 */ 705 - static int __devinit lpc_ich_check_conflict_gpio(struct resource *res) 705 + static int lpc_ich_check_conflict_gpio(struct resource *res) 706 706 { 707 707 int ret; 708 708 u8 use_gpio = 0; ··· 721 721 return use_gpio ? use_gpio : ret; 722 722 } 723 723 724 - static int __devinit lpc_ich_init_gpio(struct pci_dev *dev, 724 + static int lpc_ich_init_gpio(struct pci_dev *dev, 725 725 const struct pci_device_id *id) 726 726 { 727 727 u32 base_addr_cfg; ··· 798 798 return ret; 799 799 } 800 800 801 - static int __devinit lpc_ich_init_wdt(struct pci_dev *dev, 801 + static int lpc_ich_init_wdt(struct pci_dev *dev, 802 802 const struct pci_device_id *id) 803 803 { 804 804 u32 base_addr_cfg; ··· 852 852 return ret; 853 853 } 854 854 855 - static int __devinit lpc_ich_probe(struct pci_dev *dev, 855 + static int lpc_ich_probe(struct pci_dev *dev, 856 856 const struct pci_device_id *id) 857 857 { 858 858 int ret;
+1 -1
drivers/mfd/lpc_sch.c
··· 83 83 }; 84 84 MODULE_DEVICE_TABLE(pci, lpc_sch_ids); 85 85 86 - static int __devinit lpc_sch_probe(struct pci_dev *dev, 86 + static int lpc_sch_probe(struct pci_dev *dev, 87 87 const struct pci_device_id *id) 88 88 { 89 89 unsigned int base_addr_cfg;
+1 -1
drivers/mfd/max8907.c
··· 183 183 MAX8907_MASK_POWER_OFF, MAX8907_MASK_POWER_OFF); 184 184 } 185 185 186 - static __devinit int max8907_i2c_probe(struct i2c_client *i2c, 186 + static int max8907_i2c_probe(struct i2c_client *i2c, 187 187 const struct i2c_device_id *id) 188 188 { 189 189 struct max8907 *max8907;
+2 -2
drivers/mfd/max8925-core.c
··· 714 714 return 0; 715 715 } 716 716 717 - static void __devinit init_regulator(struct max8925_chip *chip, 717 + static void init_regulator(struct max8925_chip *chip, 718 718 struct max8925_platform_data *pdata) 719 719 { 720 720 int ret; ··· 821 821 } 822 822 } 823 823 824 - int __devinit max8925_device_init(struct max8925_chip *chip, 824 + int max8925_device_init(struct max8925_chip *chip, 825 825 struct max8925_platform_data *pdata) 826 826 { 827 827 int ret;
+1 -1
drivers/mfd/max8925-i2c.c
··· 135 135 }; 136 136 MODULE_DEVICE_TABLE(i2c, max8925_id_table); 137 137 138 - static int __devinit max8925_probe(struct i2c_client *client, 138 + static int max8925_probe(struct i2c_client *client, 139 139 const struct i2c_device_id *id) 140 140 { 141 141 struct max8925_platform_data *pdata = client->dev.platform_data;
+1 -1
drivers/mfd/omap-usb-host.c
··· 464 464 * 465 465 * Allocates basic resources for this USB host controller. 466 466 */ 467 - static int __devinit usbhs_omap_probe(struct platform_device *pdev) 467 + static int usbhs_omap_probe(struct platform_device *pdev) 468 468 { 469 469 struct device *dev = &pdev->dev; 470 470 struct usbhs_omap_platform_data *pdata = dev->platform_data;
+1 -1
drivers/mfd/omap-usb-tll.c
··· 200 200 * 201 201 * Allocates basic resources for this USB host controller. 202 202 */ 203 - static int __devinit usbtll_omap_probe(struct platform_device *pdev) 203 + static int usbtll_omap_probe(struct platform_device *pdev) 204 204 { 205 205 struct device *dev = &pdev->dev; 206 206 struct usbtll_omap_platform_data *pdata = dev->platform_data;
+2 -2
drivers/mfd/palmas.c
··· 247 247 PALMAS_INT1_MASK), 248 248 }; 249 249 250 - static void __devinit palmas_dt_to_pdata(struct device_node *node, 250 + static void palmas_dt_to_pdata(struct device_node *node, 251 251 struct palmas_platform_data *pdata) 252 252 { 253 253 int ret; ··· 275 275 PALMAS_POWER_CTRL_ENABLE2_MASK; 276 276 } 277 277 278 - static int __devinit palmas_i2c_probe(struct i2c_client *i2c, 278 + static int palmas_i2c_probe(struct i2c_client *i2c, 279 279 const struct i2c_device_id *id) 280 280 { 281 281 struct palmas *palmas;
+1 -1
drivers/mfd/pcf50633-adc.c
··· 199 199 kfree(req); 200 200 } 201 201 202 - static int __devinit pcf50633_adc_probe(struct platform_device *pdev) 202 + static int pcf50633_adc_probe(struct platform_device *pdev) 203 203 { 204 204 struct pcf50633_adc *adc; 205 205
+1 -1
drivers/mfd/pcf50633-core.c
··· 191 191 .val_bits = 8, 192 192 }; 193 193 194 - static int __devinit pcf50633_probe(struct i2c_client *client, 194 + static int pcf50633_probe(struct i2c_client *client, 195 195 const struct i2c_device_id *ids) 196 196 { 197 197 struct pcf50633 *pcf;
+2 -2
drivers/mfd/pm8921-core.c
··· 80 80 .pmic_read_irq_stat = pm8921_read_irq_stat, 81 81 }; 82 82 83 - static int __devinit pm8921_add_subdevices(const struct pm8921_platform_data 83 + static int pm8921_add_subdevices(const struct pm8921_platform_data 84 84 *pdata, 85 85 struct pm8921 *pmic, 86 86 u32 rev) ··· 104 104 return ret; 105 105 } 106 106 107 - static int __devinit pm8921_probe(struct platform_device *pdev) 107 + static int pm8921_probe(struct platform_device *pdev) 108 108 { 109 109 const struct pm8921_platform_data *pdata = pdev->dev.platform_data; 110 110 struct pm8921 *pmic;
+1 -1
drivers/mfd/pm8xxx-irq.c
··· 309 309 } 310 310 EXPORT_SYMBOL_GPL(pm8xxx_get_irq_stat); 311 311 312 - struct pm_irq_chip * __devinit pm8xxx_irq_init(struct device *dev, 312 + struct pm_irq_chip * pm8xxx_irq_init(struct device *dev, 313 313 const struct pm8xxx_irq_platform_data *pdata) 314 314 { 315 315 struct pm_irq_chip *chip;
+1 -1
drivers/mfd/rc5t583.c
··· 246 246 .cache_type = REGCACHE_RBTREE, 247 247 }; 248 248 249 - static int __devinit rc5t583_i2c_probe(struct i2c_client *i2c, 249 + static int rc5t583_i2c_probe(struct i2c_client *i2c, 250 250 const struct i2c_device_id *id) 251 251 { 252 252 struct rc5t583 *rc5t583;
+1 -1
drivers/mfd/rdc321x-southbridge.c
··· 72 72 }, 73 73 }; 74 74 75 - static int __devinit rdc321x_sb_probe(struct pci_dev *pdev, 75 + static int rdc321x_sb_probe(struct pci_dev *pdev, 76 76 const struct pci_device_id *ent) 77 77 { 78 78 int err;
+5 -5
drivers/mfd/sm501.c
··· 1014 1014 .get = sm501_gpio_get, 1015 1015 }; 1016 1016 1017 - static int __devinit sm501_gpio_register_chip(struct sm501_devdata *sm, 1017 + static int sm501_gpio_register_chip(struct sm501_devdata *sm, 1018 1018 struct sm501_gpio *gpio, 1019 1019 struct sm501_gpio_chip *chip) 1020 1020 { ··· 1042 1042 return gpiochip_add(gchip); 1043 1043 } 1044 1044 1045 - static int __devinit sm501_register_gpio(struct sm501_devdata *sm) 1045 + static int sm501_register_gpio(struct sm501_devdata *sm) 1046 1046 { 1047 1047 struct sm501_gpio *gpio = &sm->gpio; 1048 1048 resource_size_t iobase = sm->io_res->start + SM501_GPIO; ··· 1313 1313 * Common init code for an SM501 1314 1314 */ 1315 1315 1316 - static int __devinit sm501_init_dev(struct sm501_devdata *sm) 1316 + static int sm501_init_dev(struct sm501_devdata *sm) 1317 1317 { 1318 1318 struct sm501_initdata *idata; 1319 1319 struct sm501_platdata *pdata; ··· 1389 1389 return 0; 1390 1390 } 1391 1391 1392 - static int __devinit sm501_plat_probe(struct platform_device *dev) 1392 + static int sm501_plat_probe(struct platform_device *dev) 1393 1393 { 1394 1394 struct sm501_devdata *sm; 1395 1395 int ret; ··· 1578 1578 .gpio_base = -1, 1579 1579 }; 1580 1580 1581 - static int __devinit sm501_pci_probe(struct pci_dev *dev, 1581 + static int sm501_pci_probe(struct pci_dev *dev, 1582 1582 const struct pci_device_id *id) 1583 1583 { 1584 1584 struct sm501_devdata *sm;
+2 -2
drivers/mfd/sta2x11-mfd.c
··· 69 69 return NULL; 70 70 } 71 71 72 - static int __devinit sta2x11_mfd_add(struct pci_dev *pdev, gfp_t flags) 72 + static int sta2x11_mfd_add(struct pci_dev *pdev, gfp_t flags) 73 73 { 74 74 struct sta2x11_mfd *mfd = sta2x11_mfd_find(pdev); 75 75 struct sta2x11_instance *instance; ··· 363 363 return 0; 364 364 } 365 365 366 - static int __devinit sta2x11_mfd_probe(struct pci_dev *pdev, 366 + static int sta2x11_mfd_probe(struct pci_dev *pdev, 367 367 const struct pci_device_id *pci_id) 368 368 { 369 369 int err, i;
+1 -1
drivers/mfd/stmpe-i2c.c
··· 52 52 .write_block = i2c_block_write, 53 53 }; 54 54 55 - static int __devinit 55 + static int 56 56 stmpe_i2c_probe(struct i2c_client *i2c, const struct i2c_device_id *id) 57 57 { 58 58 i2c_ci.data = (void *)id;
+1 -1
drivers/mfd/stmpe-spi.c
··· 82 82 .init = spi_init, 83 83 }; 84 84 85 - static int __devinit 85 + static int 86 86 stmpe_spi_probe(struct spi_device *spi) 87 87 { 88 88 const struct spi_device_id *id = spi_get_device_id(spi);
+1 -1
drivers/mfd/syscon.c
··· 97 97 .reg_stride = 4, 98 98 }; 99 99 100 - static int __devinit syscon_probe(struct platform_device *pdev) 100 + static int syscon_probe(struct platform_device *pdev) 101 101 { 102 102 struct device *dev = &pdev->dev; 103 103 struct device_node *np = dev->of_node;
+2 -2
drivers/mfd/tc3589x.c
··· 282 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 287 int ret = 0; 288 288 unsigned int blocks = tc3589x->pdata->block; ··· 329 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 333 const struct i2c_device_id *id) 334 334 { 335 335 struct tc3589x_platform_data *pdata = i2c->dev.platform_data;
+1 -1
drivers/mfd/tc6387xb.c
··· 138 138 }, 139 139 }; 140 140 141 - static int __devinit tc6387xb_probe(struct platform_device *dev) 141 + static int tc6387xb_probe(struct platform_device *dev) 142 142 { 143 143 struct tc6387xb_platform_data *pdata = dev->dev.platform_data; 144 144 struct resource *iomem, *rscr;
+1 -1
drivers/mfd/tc6393xb.c
··· 602 602 603 603 /*--------------------------------------------------------------------------*/ 604 604 605 - static int __devinit tc6393xb_probe(struct platform_device *dev) 605 + static int tc6393xb_probe(struct platform_device *dev) 606 606 { 607 607 struct tc6393xb_platform_data *tcpd = dev->dev.platform_data; 608 608 struct tc6393xb *tc6393xb;
+1 -1
drivers/mfd/ti-ssp.c
··· 315 315 return IRQ_HANDLED; 316 316 } 317 317 318 - static int __devinit ti_ssp_probe(struct platform_device *pdev) 318 + static int ti_ssp_probe(struct platform_device *pdev) 319 319 { 320 320 static struct ti_ssp *ssp; 321 321 const struct ti_ssp_data *pdata = pdev->dev.platform_data;
+1 -1
drivers/mfd/timberdale.c
··· 650 650 651 651 /*--------------------------------------------------------------------------*/ 652 652 653 - static int __devinit timb_probe(struct pci_dev *dev, 653 + static int timb_probe(struct pci_dev *dev, 654 654 const struct pci_device_id *id) 655 655 { 656 656 struct timberdale_device *priv;
+2 -2
drivers/mfd/tps6105x.c
··· 86 86 } 87 87 EXPORT_SYMBOL(tps6105x_mask_and_set); 88 88 89 - static int __devinit tps6105x_startup(struct tps6105x *tps6105x) 89 + static int tps6105x_startup(struct tps6105x *tps6105x) 90 90 { 91 91 int ret; 92 92 u8 regval; ··· 133 133 }, 134 134 }; 135 135 136 - static int __devinit tps6105x_probe(struct i2c_client *client, 136 + static int tps6105x_probe(struct i2c_client *client, 137 137 const struct i2c_device_id *id) 138 138 { 139 139 struct tps6105x *tps6105x;
+2 -2
drivers/mfd/tps65090.c
··· 188 188 return acks ? IRQ_HANDLED : IRQ_NONE; 189 189 } 190 190 191 - static int __devinit tps65090_irq_init(struct tps65090 *tps65090, int irq, 191 + static int tps65090_irq_init(struct tps65090 *tps65090, int irq, 192 192 int irq_base) 193 193 { 194 194 int i, ret; ··· 251 251 .volatile_reg = is_volatile_reg, 252 252 }; 253 253 254 - static int __devinit tps65090_i2c_probe(struct i2c_client *client, 254 + static int tps65090_i2c_probe(struct i2c_client *client, 255 255 const struct i2c_device_id *id) 256 256 { 257 257 struct tps65090_platform_data *pdata = client->dev.platform_data;
+1 -1
drivers/mfd/tps65217.c
··· 153 153 { /* sentinel */ }, 154 154 }; 155 155 156 - static int __devinit tps65217_probe(struct i2c_client *client, 156 + static int tps65217_probe(struct i2c_client *client, 157 157 const struct i2c_device_id *ids) 158 158 { 159 159 struct tps65217 *tps;
+3 -3
drivers/mfd/tps6586x.c
··· 267 267 return IRQ_HANDLED; 268 268 } 269 269 270 - static int __devinit tps6586x_irq_init(struct tps6586x *tps6586x, int irq, 270 + static int tps6586x_irq_init(struct tps6586x *tps6586x, int irq, 271 271 int irq_base) 272 272 { 273 273 int i, ret; ··· 316 316 return ret; 317 317 } 318 318 319 - static int __devinit tps6586x_add_subdevs(struct tps6586x *tps6586x, 319 + static int tps6586x_add_subdevs(struct tps6586x *tps6586x, 320 320 struct tps6586x_platform_data *pdata) 321 321 { 322 322 struct tps6586x_subdev_info *subdev; ··· 468 468 tps6586x_set_bits(tps6586x_dev, TPS6586X_SUPPLYENE, SLEEP_MODE_BIT); 469 469 } 470 470 471 - static int __devinit tps6586x_i2c_probe(struct i2c_client *client, 471 + static int tps6586x_i2c_probe(struct i2c_client *client, 472 472 const struct i2c_device_id *id) 473 473 { 474 474 struct tps6586x_platform_data *pdata = client->dev.platform_data;
+3 -3
drivers/mfd/tps65910.c
··· 78 78 .cache_type = REGCACHE_RBTREE, 79 79 }; 80 80 81 - static int __devinit tps65910_ck32k_init(struct tps65910 *tps65910, 81 + static int tps65910_ck32k_init(struct tps65910 *tps65910, 82 82 struct tps65910_board *pmic_pdata) 83 83 { 84 84 int ret; ··· 96 96 return 0; 97 97 } 98 98 99 - static int __devinit tps65910_sleepinit(struct tps65910 *tps65910, 99 + static int tps65910_sleepinit(struct tps65910 *tps65910, 100 100 struct tps65910_board *pmic_pdata) 101 101 { 102 102 struct device *dev = NULL; ··· 237 237 DEVCTRL_DEV_ON_MASK); 238 238 } 239 239 240 - static __devinit int tps65910_i2c_probe(struct i2c_client *i2c, 240 + static int tps65910_i2c_probe(struct i2c_client *i2c, 241 241 const struct i2c_device_id *id) 242 242 { 243 243 struct tps65910 *tps65910;
+1 -1
drivers/mfd/tps65911-comparator.c
··· 122 122 static DEVICE_ATTR(comp1_threshold, S_IRUGO, comp_threshold_show, NULL); 123 123 static DEVICE_ATTR(comp2_threshold, S_IRUGO, comp_threshold_show, NULL); 124 124 125 - static __devinit int tps65911_comparator_probe(struct platform_device *pdev) 125 + static int tps65911_comparator_probe(struct platform_device *pdev) 126 126 { 127 127 struct tps65910 *tps65910 = dev_get_drvdata(pdev->dev.parent); 128 128 struct tps65910_board *pdata = dev_get_platdata(tps65910->dev);
+1 -1
drivers/mfd/tps65912-spi.c
··· 81 81 return ret; 82 82 } 83 83 84 - static int __devinit tps65912_spi_probe(struct spi_device *spi) 84 + static int tps65912_spi_probe(struct spi_device *spi) 85 85 { 86 86 struct tps65912 *tps65912; 87 87
+1 -1
drivers/mfd/twl-core.c
··· 1170 1170 } 1171 1171 1172 1172 /* NOTE: This driver only handles a single twl4030/tps659x0 chip */ 1173 - static int __devinit 1173 + static int 1174 1174 twl_probe(struct i2c_client *client, const struct i2c_device_id *id) 1175 1175 { 1176 1176 struct twl4030_platform_data *pdata = client->dev.platform_data;
+1 -1
drivers/mfd/twl4030-audio.c
··· 184 184 return false; 185 185 } 186 186 187 - static int __devinit twl4030_audio_probe(struct platform_device *pdev) 187 + static int twl4030_audio_probe(struct platform_device *pdev) 188 188 { 189 189 struct twl4030_audio *audio; 190 190 struct twl4030_audio_data *pdata = pdev->dev.platform_data;
+1 -1
drivers/mfd/twl4030-madc.c
··· 692 692 /* 693 693 * Initialize MADC and request for threaded irq 694 694 */ 695 - static int __devinit twl4030_madc_probe(struct platform_device *pdev) 695 + static int twl4030_madc_probe(struct platform_device *pdev) 696 696 { 697 697 struct twl4030_madc_data *madc; 698 698 struct twl4030_madc_platform_data *pdata = pdev->dev.platform_data;
+10 -10
drivers/mfd/twl4030-power.c
··· 124 124 [RES_MAIN_REF] = 0x94, 125 125 }; 126 126 127 - static int __devinit twl4030_write_script_byte(u8 address, u8 byte) 127 + static int twl4030_write_script_byte(u8 address, u8 byte) 128 128 { 129 129 int err; 130 130 ··· 138 138 return err; 139 139 } 140 140 141 - static int __devinit twl4030_write_script_ins(u8 address, u16 pmb_message, 141 + static int twl4030_write_script_ins(u8 address, u16 pmb_message, 142 142 u8 delay, u8 next) 143 143 { 144 144 int err; ··· 158 158 return err; 159 159 } 160 160 161 - static int __devinit twl4030_write_script(u8 address, struct twl4030_ins *script, 161 + static int twl4030_write_script(u8 address, struct twl4030_ins *script, 162 162 int len) 163 163 { 164 164 int err; ··· 183 183 return err; 184 184 } 185 185 186 - static int __devinit twl4030_config_wakeup3_sequence(u8 address) 186 + static int twl4030_config_wakeup3_sequence(u8 address) 187 187 { 188 188 int err; 189 189 u8 data; ··· 208 208 return err; 209 209 } 210 210 211 - static int __devinit twl4030_config_wakeup12_sequence(u8 address) 211 + static int twl4030_config_wakeup12_sequence(u8 address) 212 212 { 213 213 int err = 0; 214 214 u8 data; ··· 262 262 return err; 263 263 } 264 264 265 - static int __devinit twl4030_config_sleep_sequence(u8 address) 265 + static int twl4030_config_sleep_sequence(u8 address) 266 266 { 267 267 int err; 268 268 ··· 276 276 return err; 277 277 } 278 278 279 - static int __devinit twl4030_config_warmreset_sequence(u8 address) 279 + static int twl4030_config_warmreset_sequence(u8 address) 280 280 { 281 281 int err; 282 282 u8 rd_data; ··· 324 324 return err; 325 325 } 326 326 327 - static int __devinit twl4030_configure_resource(struct twl4030_resconfig *rconfig) 327 + static int twl4030_configure_resource(struct twl4030_resconfig *rconfig) 328 328 { 329 329 int rconfig_addr; 330 330 int err; ··· 416 416 return 0; 417 417 } 418 418 419 - static int __devinit load_twl4030_script(struct twl4030_script *tscript, 419 + static int load_twl4030_script(struct twl4030_script *tscript, 420 420 u8 address) 421 421 { 422 422 int err; ··· 527 527 pr_err("TWL4030 Unable to power off\n"); 528 528 } 529 529 530 - void __devinit twl4030_power_init(struct twl4030_power_data *twl4030_scripts) 530 + void twl4030_power_init(struct twl4030_power_data *twl4030_scripts) 531 531 { 532 532 int err = 0; 533 533 int i;
+1 -1
drivers/mfd/vx855.c
··· 72 72 }, 73 73 }; 74 74 75 - static __devinit int vx855_probe(struct pci_dev *pdev, 75 + static int vx855_probe(struct pci_dev *pdev, 76 76 const struct pci_device_id *id) 77 77 { 78 78 int ret;
+1 -1
drivers/mfd/wl1273-core.c
··· 182 182 return 0; 183 183 } 184 184 185 - static int __devinit wl1273_core_probe(struct i2c_client *client, 185 + static int wl1273_core_probe(struct i2c_client *client, 186 186 const struct i2c_device_id *id) 187 187 { 188 188 struct wl1273_fm_platform_data *pdata = client->dev.platform_data;
+1 -1
drivers/mfd/wm831x-spi.c
··· 21 21 22 22 #include <linux/mfd/wm831x/core.h> 23 23 24 - static int __devinit wm831x_spi_probe(struct spi_device *spi) 24 + static int wm831x_spi_probe(struct spi_device *spi) 25 25 { 26 26 const struct spi_device_id *id = spi_get_device_id(spi); 27 27 struct wm831x *wm831x;
+2 -2
drivers/mfd/wm8994-core.c
··· 399 399 /* 400 400 * Instantiate the generic non-control parts of the device. 401 401 */ 402 - static __devinit int wm8994_device_init(struct wm8994 *wm8994, int irq) 402 + static int wm8994_device_init(struct wm8994 *wm8994, int irq) 403 403 { 404 404 struct wm8994_pdata *pdata = wm8994->dev->platform_data; 405 405 struct regmap_config *regmap_config; ··· 689 689 }; 690 690 MODULE_DEVICE_TABLE(of, wm8994_of_match); 691 691 692 - static __devinit int wm8994_i2c_probe(struct i2c_client *i2c, 692 + static int wm8994_i2c_probe(struct i2c_client *i2c, 693 693 const struct i2c_device_id *id) 694 694 { 695 695 struct wm8994 *wm8994;
+1 -1
include/linux/mfd/88pm80x.h
··· 364 364 #endif 365 365 366 366 extern int pm80x_init(struct i2c_client *client, 367 - const struct i2c_device_id *id) __devinit; 367 + const struct i2c_device_id *id); 368 368 extern int pm80x_deinit(struct i2c_client *client); 369 369 #endif /* __LINUX_MFD_88PM80X_H */
+1 -1
include/linux/mfd/abx500/ab8500.h
··· 291 291 struct ab8500_codec_platform_data *codec; 292 292 }; 293 293 294 - extern int __devinit ab8500_init(struct ab8500 *ab8500, 294 + extern int ab8500_init(struct ab8500 *ab8500, 295 295 enum ab8500_version version); 296 296 extern int __devexit ab8500_exit(struct ab8500 *ab8500); 297 297
+2 -2
include/linux/mfd/pm8xxx/irq.h
··· 37 37 38 38 #ifdef CONFIG_MFD_PM8XXX_IRQ 39 39 int pm8xxx_get_irq_stat(struct pm_irq_chip *chip, int irq); 40 - struct pm_irq_chip * __devinit pm8xxx_irq_init(struct device *dev, 40 + struct pm_irq_chip *pm8xxx_irq_init(struct device *dev, 41 41 const struct pm8xxx_irq_platform_data *pdata); 42 42 int __devexit pm8xxx_irq_exit(struct pm_irq_chip *chip); 43 43 #else ··· 45 45 { 46 46 return -ENXIO; 47 47 } 48 - static inline struct pm_irq_chip * __devinit pm8xxx_irq_init( 48 + static inline struct pm_irq_chip *pm8xxx_irq_init( 49 49 const struct device *dev, 50 50 const struct pm8xxx_irq_platform_data *pdata) 51 51 {