diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-11-19 13:22:35 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-28 14:49:40 -0500 |
commit | 6c931ae1c09a9618852c9619dac71f1f77776e3b (patch) | |
tree | 2bf3ef58b8c122aa9714576f6b07b71948d9d1c7 /drivers/hwmon/k10temp.c | |
parent | 9e5e9b7a92e4e2e4ac1f0d6aa181639637660e45 (diff) |
hwmon: 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: Hans de Goede <hdegoede@redhat.com>
Cc: Jean Delvare <khali@linux-fr.org>
Cc: Alistair John Strachan <alistair@devzero.co.uk>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: Juerg Haefliger <juergh@gmail.com>
Cc: Andreas Herrmann <herrmann.der.user@googlemail.com>
Cc: Clemens Ladisch <clemens@ladisch.de>
Cc: Rudolf Marek <r.marek@assembler.cz>
Cc: Jim Cromie <jim.cromie@gmail.com>
Cc: "Mark M. Hoffman" <mhoffman@lightlink.com>
Cc: Roger Lucas <vt8231@hiddenengine.co.uk>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hwmon/k10temp.c')
-rw-r--r-- | drivers/hwmon/k10temp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/hwmon/k10temp.c b/drivers/hwmon/k10temp.c index 2722cdecc79e..da8acda48ab0 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; |