diff options
Diffstat (limited to 'drivers/hwmon/k10temp.c')
-rw-r--r-- | drivers/hwmon/k10temp.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/hwmon/k10temp.c b/drivers/hwmon/k10temp.c index 307bb325dde9..7356b5ec8f67 100644 --- a/drivers/hwmon/k10temp.c +++ b/drivers/hwmon/k10temp.c | |||
@@ -225,15 +225,4 @@ static struct pci_driver k10temp_driver = { | |||
225 | .remove = __devexit_p(k10temp_remove), | 225 | .remove = __devexit_p(k10temp_remove), |
226 | }; | 226 | }; |
227 | 227 | ||
228 | static int __init k10temp_init(void) | 228 | module_pci_driver(k10temp_driver); |
229 | { | ||
230 | return pci_register_driver(&k10temp_driver); | ||
231 | } | ||
232 | |||
233 | static void __exit k10temp_exit(void) | ||
234 | { | ||
235 | pci_unregister_driver(&k10temp_driver); | ||
236 | } | ||
237 | |||
238 | module_init(k10temp_init) | ||
239 | module_exit(k10temp_exit) | ||