diff mbox

[4/4,RFC] fujitsu-laptop: fujitsu-laptop: simplify modalias (autoload)

Message ID 20170130124554.GG10561@marvin.atrad.com.au (mailing list archive)
State Superseded, archived
Headers show

Commit Message

Jonathan Woithe Jan. 30, 2017, 12:45 p.m. UTC
fujistsu-laptop will not load without the ACPI device "FUJ02E3". Use
this device to trigger autoload, instead of looking for PNP or DMI
matches.

Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
Signed-off-by: Jonathan Woithe <jwoithe@just42.net>
diff mbox

Patch

--- a/drivers/platform/x86/fujitsu-laptop.c	2017-01-30 22:41:04.736105860 +1030
+++ b/drivers/platform/x86/fujitsu-laptop.c	2017-01-30 22:40:42.376105487 +1030
@@ -1299,6 +1299,4 @@ 
 MODULE_VERSION(FUJITSU_DRIVER_VERSION);
 MODULE_LICENSE("GPL");
 
-MODULE_ALIAS("dmi:*:svnFUJITSUSIEMENS:*:pvr:rvnFUJITSU:rnFJNB1D3:*:cvrS6410:*");
-MODULE_ALIAS("dmi:*:svnFUJITSUSIEMENS:*:pvr:rvnFUJITSU:rnFJNB1E6:*:cvrS6420:*");
-MODULE_ALIAS("dmi:*:svnFUJITSU:*:pvr:rvnFUJITSU:rnFJNB19C:*:cvrS7020:*");
+MODULE_DEVICE_TABLE(acpi, fujitsu_laptop_device_ids);