dell-laptop: If there is no hwswitch, then clear all hw-controlled bits
authorHans de Goede <hdegoede@redhat.com>
Sun, 17 Nov 2013 13:00:18 +0000 (14:00 +0100)
committerMatthew Garrett <matthew.garrett@nebula.com>
Wed, 20 Nov 2013 23:50:48 +0000 (18:50 -0500)
commitddde708217af6d5fe43c0086247c05ed317076b4
treee696fcc1133096c7caccf7ce2718d76a14a6387d
parent2a92551845bbbc8421ba908cd14bbdf065e0f454
dell-laptop: If there is no hwswitch, then clear all hw-controlled bits

To ensure we don't enter any hw-switch related code paths on machines without
a hw-switch.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
drivers/platform/x86/dell-laptop.c