Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a597724

Browse files
wfp5pgregkh
authored andcommitted
hwmon: remove use of __devinitdata
CONFIG_HOTPLUG is going away as an option so __devinitdata is no longer needed. Signed-off-by: Bill Pemberton <[email protected]> Cc: Jean Delvare <[email protected]> Acked-by: Guenter Roeck <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 6c931ae commit a597724

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

drivers/hwmon/gpio-fan.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ static int gpio_fan_get_of_pdata(struct device *dev,
499499
return 0;
500500
}
501501

502-
static struct of_device_id of_gpio_fan_match[] __devinitdata = {
502+
static struct of_device_id of_gpio_fan_match[] = {
503503
{ .compatible = "gpio-fan", },
504504
{},
505505
};

drivers/hwmon/i5k_amb.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -488,14 +488,14 @@ static int i5k_channel_probe(u16 *amb_present, unsigned long dev_id)
488488
static struct {
489489
unsigned long err;
490490
unsigned long fbd0;
491-
} chipset_ids[] __devinitdata = {
491+
} chipset_ids[] = {
492492
{ PCI_DEVICE_ID_INTEL_5000_ERR, PCI_DEVICE_ID_INTEL_5000_FBD0 },
493493
{ PCI_DEVICE_ID_INTEL_5400_ERR, PCI_DEVICE_ID_INTEL_5400_FBD0 },
494494
{ 0, 0 }
495495
};
496496

497497
#ifdef MODULE
498-
static struct pci_device_id i5k_amb_ids[] __devinitdata = {
498+
static struct pci_device_id i5k_amb_ids[] = {
499499
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_5000_ERR) },
500500
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_5400_ERR) },
501501
{ 0, }

drivers/hwmon/sis5595.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -758,7 +758,7 @@ static DEFINE_PCI_DEVICE_TABLE(sis5595_pci_ids) = {
758758

759759
MODULE_DEVICE_TABLE(pci, sis5595_pci_ids);
760760

761-
static int blacklist[] __devinitdata = {
761+
static int blacklist[] = {
762762
PCI_DEVICE_ID_SI_540,
763763
PCI_DEVICE_ID_SI_550,
764764
PCI_DEVICE_ID_SI_630,

0 commit comments

Comments
 (0)