diff mbox

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

Message ID 20170131131107.GE6218@marvin.atrad.com.au (mailing list archive)
State Rejected, archived
Headers show

Commit Message

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

Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
Signed-off-by: Jonathan Woithe <jwoithe@just42.net>
---
 drivers/platform/x86/fujitsu-laptop.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
diff mbox

Patch

diff --git a/drivers/platform/x86/fujitsu-laptop.c b/drivers/platform/x86/fujitsu-laptop.c
index 7167223..5377d35 100644
--- a/drivers/platform/x86/fujitsu-laptop.c
+++ b/drivers/platform/x86/fujitsu-laptop.c
@@ -1299,6 +1299,4 @@  MODULE_DESCRIPTION("Fujitsu laptop extras support");
 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);