OSDN Git Service

platform/x86: ideapad-laptop: Apply no_hw_rfkill to Y20-15IKBM, too
authorTakashi Iwai <tiwai@suse.de>
Fri, 22 Jun 2018 08:59:17 +0000 (10:59 +0200)
committerDarren Hart (VMware) <dvhart@infradead.org>
Tue, 26 Jun 2018 22:01:52 +0000 (15:01 -0700)
commit58e73aa177850babb947555257fd4f79e5275cf1
treee3be09cd9a8e0cee71846dcf1cd517fa7422789a
parent937b62b44cb69ff6e4efcd15fe0ea0a21bc42203
platform/x86: ideapad-laptop: Apply no_hw_rfkill to Y20-15IKBM, too

The commit 5d9f40b56630 ("platform/x86: ideapad-laptop: Add
Y520-15IKBN to no_hw_rfkill") added the entry for Y20-15IKBN, and it
turned out that another variant, Y20-15IKBM, also requires the
no_hw_rfkill.

Trim the last letter from the string so that it matches to both
Y20-15IKBN and Y20-15IKBM models.

Bugzilla: https://bugzilla.opensuse.org/show_bug.cgi?id=1098626
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
drivers/platform/x86/ideapad-laptop.c