aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/fam15h_power.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/fam15h_power.c')
-rw-r--r--drivers/hwmon/fam15h_power.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/hwmon/fam15h_power.c b/drivers/hwmon/fam15h_power.c
index 34ab2a8f9654..b757088aeddb 100644
--- a/drivers/hwmon/fam15h_power.c
+++ b/drivers/hwmon/fam15h_power.c
@@ -114,7 +114,7 @@ static const struct attribute_group fam15h_power_attr_group = {
114 .attrs = fam15h_power_attrs, 114 .attrs = fam15h_power_attrs,
115}; 115};
116 116
117static bool __devinit fam15h_power_is_internal_node0(struct pci_dev *f4) 117static bool fam15h_power_is_internal_node0(struct pci_dev *f4)
118{ 118{
119 u32 val; 119 u32 val;
120 120
@@ -171,7 +171,7 @@ static int fam15h_power_resume(struct pci_dev *pdev)
171#define fam15h_power_resume NULL 171#define fam15h_power_resume NULL
172#endif 172#endif
173 173
174static void __devinit fam15h_power_init_data(struct pci_dev *f4, 174static void fam15h_power_init_data(struct pci_dev *f4,
175 struct fam15h_power_data *data) 175 struct fam15h_power_data *data)
176{ 176{
177 u32 val; 177 u32 val;
@@ -197,7 +197,7 @@ static void __devinit fam15h_power_init_data(struct pci_dev *f4,
197 data->processor_pwr_watts = (tmp * 15625) >> 10; 197 data->processor_pwr_watts = (tmp * 15625) >> 10;
198} 198}
199 199
200static int __devinit fam15h_power_probe(struct pci_dev *pdev, 200static int fam15h_power_probe(struct pci_dev *pdev,
201 const struct pci_device_id *id) 201 const struct pci_device_id *id)
202{ 202{
203 struct fam15h_power_data *data; 203 struct fam15h_power_data *data;
@@ -238,7 +238,7 @@ exit_remove_group:
238 return err; 238 return err;
239} 239}
240 240
241static void __devexit fam15h_power_remove(struct pci_dev *pdev) 241static void fam15h_power_remove(struct pci_dev *pdev)
242{ 242{
243 struct device *dev; 243 struct device *dev;
244 struct fam15h_power_data *data; 244 struct fam15h_power_data *data;
@@ -260,7 +260,7 @@ static struct pci_driver fam15h_power_driver = {
260 .name = "fam15h_power", 260 .name = "fam15h_power",
261 .id_table = fam15h_power_id_table, 261 .id_table = fam15h_power_id_table,
262 .probe = fam15h_power_probe, 262 .probe = fam15h_power_probe,
263 .remove = __devexit_p(fam15h_power_remove), 263 .remove = fam15h_power_remove,
264 .resume = fam15h_power_resume, 264 .resume = fam15h_power_resume,
265}; 265};
266 266