Commit aef64d0d authored by Axel Lin's avatar Axel Lin Committed by Jean DELVARE
Browse files

hwmon: (i5500_temp) Convert to module_pci_driver

Use module_pci_driver to simplify the code a bit.
Signed-off-by: default avatarAxel Lin <>
Reviewed-by: default avatarGuenter Roeck <>
Signed-off-by: Jean DELVARE's avatarJean Delvare <>
parent e3d98203
...@@ -149,19 +149,8 @@ static struct pci_driver i5500_temp_driver = { ...@@ -149,19 +149,8 @@ static struct pci_driver i5500_temp_driver = {
.probe = i5500_temp_probe, .probe = i5500_temp_probe,
}; };
static int __init i5500_temp_init(void) module_pci_driver(i5500_temp_driver);
return pci_register_driver(&i5500_temp_driver);
static void __exit i5500_temp_exit(void)
MODULE_AUTHOR("Jean Delvare <>"); MODULE_AUTHOR("Jean Delvare <>");
MODULE_DESCRIPTION("Intel 5500/5520/X58 chipset thermal sensor driver"); MODULE_DESCRIPTION("Intel 5500/5520/X58 chipset thermal sensor driver");
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment