Loading drivers/hwmon/i5k_amb.c +2 −0 Original line number Diff line number Diff line Loading @@ -497,12 +497,14 @@ static unsigned long chipset_ids[] = { 0 }; #ifdef MODULE static struct pci_device_id i5k_amb_ids[] __devinitdata = { { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_5000_ERR) }, { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_5400_ERR) }, { 0, } }; MODULE_DEVICE_TABLE(pci, i5k_amb_ids); #endif static int __devinit i5k_amb_probe(struct platform_device *pdev) { Loading drivers/hwmon/lis3lv02d_i2c.c +4 −6 Original line number Diff line number Diff line Loading @@ -186,7 +186,7 @@ static int __devexit lis3lv02d_i2c_remove(struct i2c_client *client) return 0; } #ifdef CONFIG_PM #ifdef CONFIG_PM_SLEEP static int lis3lv02d_i2c_suspend(struct device *dev) { struct i2c_client *client = container_of(dev, struct i2c_client, dev); Loading @@ -213,12 +213,9 @@ static int lis3lv02d_i2c_resume(struct device *dev) return 0; } #else #define lis3lv02d_i2c_suspend NULL #define lis3lv02d_i2c_resume NULL #define lis3lv02d_i2c_shutdown NULL #endif #endif /* CONFIG_PM_SLEEP */ #ifdef CONFIG_PM_RUNTIME static int lis3_i2c_runtime_suspend(struct device *dev) { struct i2c_client *client = container_of(dev, struct i2c_client, dev); Loading @@ -236,6 +233,7 @@ static int lis3_i2c_runtime_resume(struct device *dev) lis3lv02d_poweron(lis3); return 0; } #endif /* CONFIG_PM_RUNTIME */ static const struct i2c_device_id lis3lv02d_id[] = { {"lis3lv02d", 0 }, Loading Loading
drivers/hwmon/i5k_amb.c +2 −0 Original line number Diff line number Diff line Loading @@ -497,12 +497,14 @@ static unsigned long chipset_ids[] = { 0 }; #ifdef MODULE static struct pci_device_id i5k_amb_ids[] __devinitdata = { { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_5000_ERR) }, { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_5400_ERR) }, { 0, } }; MODULE_DEVICE_TABLE(pci, i5k_amb_ids); #endif static int __devinit i5k_amb_probe(struct platform_device *pdev) { Loading
drivers/hwmon/lis3lv02d_i2c.c +4 −6 Original line number Diff line number Diff line Loading @@ -186,7 +186,7 @@ static int __devexit lis3lv02d_i2c_remove(struct i2c_client *client) return 0; } #ifdef CONFIG_PM #ifdef CONFIG_PM_SLEEP static int lis3lv02d_i2c_suspend(struct device *dev) { struct i2c_client *client = container_of(dev, struct i2c_client, dev); Loading @@ -213,12 +213,9 @@ static int lis3lv02d_i2c_resume(struct device *dev) return 0; } #else #define lis3lv02d_i2c_suspend NULL #define lis3lv02d_i2c_resume NULL #define lis3lv02d_i2c_shutdown NULL #endif #endif /* CONFIG_PM_SLEEP */ #ifdef CONFIG_PM_RUNTIME static int lis3_i2c_runtime_suspend(struct device *dev) { struct i2c_client *client = container_of(dev, struct i2c_client, dev); Loading @@ -236,6 +233,7 @@ static int lis3_i2c_runtime_resume(struct device *dev) lis3lv02d_poweron(lis3); return 0; } #endif /* CONFIG_PM_RUNTIME */ static const struct i2c_device_id lis3lv02d_id[] = { {"lis3lv02d", 0 }, Loading