diff options
-rw-r--r-- | drivers/platform/x86/intel-smartconnect.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/platform/x86/intel-smartconnect.c b/drivers/platform/x86/intel-smartconnect.c index f74e93d096bc..52259dcabecb 100644 --- a/drivers/platform/x86/intel-smartconnect.c +++ b/drivers/platform/x86/intel-smartconnect.c | |||
@@ -74,17 +74,6 @@ static struct acpi_driver smartconnect_driver = { | |||
74 | }, | 74 | }, |
75 | }; | 75 | }; |
76 | 76 | ||
77 | static int smartconnect_init(void) | 77 | module_acpi_driver(smartconnect_driver); |
78 | { | ||
79 | return acpi_bus_register_driver(&smartconnect_driver); | ||
80 | } | ||
81 | |||
82 | static void smartconnect_exit(void) | ||
83 | { | ||
84 | acpi_bus_unregister_driver(&smartconnect_driver); | ||
85 | } | ||
86 | |||
87 | module_init(smartconnect_init); | ||
88 | module_exit(smartconnect_exit); | ||
89 | 78 | ||
90 | MODULE_DEVICE_TABLE(acpi, smartconnect_ids); | 79 | MODULE_DEVICE_TABLE(acpi, smartconnect_ids); |