diff options
Diffstat (limited to 'drivers/hwmon/k10temp.c')
-rw-r--r-- | drivers/hwmon/k10temp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/hwmon/k10temp.c b/drivers/hwmon/k10temp.c index f2fe8078633b..e3b037c73a7e 100644 --- a/drivers/hwmon/k10temp.c +++ b/drivers/hwmon/k10temp.c | |||
@@ -95,7 +95,7 @@ static SENSOR_DEVICE_ATTR(temp1_crit, S_IRUGO, show_temp_crit, NULL, 0); | |||
95 | static SENSOR_DEVICE_ATTR(temp1_crit_hyst, S_IRUGO, show_temp_crit, NULL, 1); | 95 | static SENSOR_DEVICE_ATTR(temp1_crit_hyst, S_IRUGO, show_temp_crit, NULL, 1); |
96 | static DEVICE_ATTR(name, S_IRUGO, show_name, NULL); | 96 | static DEVICE_ATTR(name, S_IRUGO, show_name, NULL); |
97 | 97 | ||
98 | static bool __devinit has_erratum_319(struct pci_dev *pdev) | 98 | static bool has_erratum_319(struct pci_dev *pdev) |
99 | { | 99 | { |
100 | u32 pkg_type, reg_dram_cfg; | 100 | u32 pkg_type, reg_dram_cfg; |
101 | 101 | ||
@@ -129,7 +129,7 @@ static bool __devinit has_erratum_319(struct pci_dev *pdev) | |||
129 | (boot_cpu_data.x86_model == 4 && boot_cpu_data.x86_mask <= 2); | 129 | (boot_cpu_data.x86_model == 4 && boot_cpu_data.x86_mask <= 2); |
130 | } | 130 | } |
131 | 131 | ||
132 | static int __devinit k10temp_probe(struct pci_dev *pdev, | 132 | static int k10temp_probe(struct pci_dev *pdev, |
133 | const struct pci_device_id *id) | 133 | const struct pci_device_id *id) |
134 | { | 134 | { |
135 | struct device *hwmon_dev; | 135 | struct device *hwmon_dev; |
@@ -192,7 +192,7 @@ exit: | |||
192 | return err; | 192 | return err; |
193 | } | 193 | } |
194 | 194 | ||
195 | static void __devexit k10temp_remove(struct pci_dev *pdev) | 195 | static void k10temp_remove(struct pci_dev *pdev) |
196 | { | 196 | { |
197 | hwmon_device_unregister(pci_get_drvdata(pdev)); | 197 | hwmon_device_unregister(pci_get_drvdata(pdev)); |
198 | device_remove_file(&pdev->dev, &dev_attr_name); | 198 | device_remove_file(&pdev->dev, &dev_attr_name); |
@@ -219,7 +219,7 @@ static struct pci_driver k10temp_driver = { | |||
219 | .name = "k10temp", | 219 | .name = "k10temp", |
220 | .id_table = k10temp_id_table, | 220 | .id_table = k10temp_id_table, |
221 | .probe = k10temp_probe, | 221 | .probe = k10temp_probe, |
222 | .remove = __devexit_p(k10temp_remove), | 222 | .remove = k10temp_remove, |
223 | }; | 223 | }; |
224 | 224 | ||
225 | module_pci_driver(k10temp_driver); | 225 | module_pci_driver(k10temp_driver); |