diff options
-rw-r--r-- | drivers/platform/x86/intel-rst.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/platform/x86/intel-rst.c b/drivers/platform/x86/intel-rst.c index 9385afd9b558..41b740cb28bc 100644 --- a/drivers/platform/x86/intel-rst.c +++ b/drivers/platform/x86/intel-rst.c | |||
@@ -193,17 +193,6 @@ static struct acpi_driver irst_driver = { | |||
193 | }, | 193 | }, |
194 | }; | 194 | }; |
195 | 195 | ||
196 | static int irst_init(void) | 196 | module_acpi_driver(irst_driver); |
197 | { | ||
198 | return acpi_bus_register_driver(&irst_driver); | ||
199 | } | ||
200 | |||
201 | static void irst_exit(void) | ||
202 | { | ||
203 | acpi_bus_unregister_driver(&irst_driver); | ||
204 | } | ||
205 | |||
206 | module_init(irst_init); | ||
207 | module_exit(irst_exit); | ||
208 | 197 | ||
209 | MODULE_DEVICE_TABLE(acpi, irst_ids); | 198 | MODULE_DEVICE_TABLE(acpi, irst_ids); |