aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/fam15h_power.c
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-11-19 13:22:35 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-28 14:49:40 -0500
commit6c931ae1c09a9618852c9619dac71f1f77776e3b (patch)
tree2bf3ef58b8c122aa9714576f6b07b71948d9d1c7 /drivers/hwmon/fam15h_power.c
parent9e5e9b7a92e4e2e4ac1f0d6aa181639637660e45 (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/fam15h_power.c')
-rw-r--r--drivers/hwmon/fam15h_power.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/hwmon/fam15h_power.c b/drivers/hwmon/fam15h_power.c
index 327fbc6106ef..4eca29850286 100644
--- a/drivers/hwmon/fam15h_power.c
+++ b/drivers/hwmon/fam15h_power.c
@@ -111,7 +111,7 @@ static const struct attribute_group fam15h_power_attr_group = {
111 .attrs = fam15h_power_attrs, 111 .attrs = fam15h_power_attrs,
112}; 112};
113 113
114static bool __devinit fam15h_power_is_internal_node0(struct pci_dev *f4) 114static bool fam15h_power_is_internal_node0(struct pci_dev *f4)
115{ 115{
116 u32 val; 116 u32 val;
117 117
@@ -168,7 +168,7 @@ static int fam15h_power_resume(struct pci_dev *pdev)
168#define fam15h_power_resume NULL 168#define fam15h_power_resume NULL
169#endif 169#endif
170 170
171static void __devinit fam15h_power_init_data(struct pci_dev *f4, 171static void fam15h_power_init_data(struct pci_dev *f4,
172 struct fam15h_power_data *data) 172 struct fam15h_power_data *data)
173{ 173{
174 u32 val; 174 u32 val;
@@ -194,7 +194,7 @@ static void __devinit fam15h_power_init_data(struct pci_dev *f4,
194 data->processor_pwr_watts = (tmp * 15625) >> 10; 194 data->processor_pwr_watts = (tmp * 15625) >> 10;
195} 195}
196 196
197static int __devinit fam15h_power_probe(struct pci_dev *pdev, 197static int fam15h_power_probe(struct pci_dev *pdev,
198 const struct pci_device_id *id) 198 const struct pci_device_id *id)
199{ 199{
200 struct fam15h_power_data *data; 200 struct fam15h_power_data *data;