aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/asus-laptop.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/misc/asus-laptop.c')
-rw-r--r--drivers/misc/asus-laptop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/asus-laptop.c b/drivers/misc/asus-laptop.c
index f1bab721ff55..b39419cc2983 100644
--- a/drivers/misc/asus-laptop.c
+++ b/drivers/misc/asus-laptop.c
@@ -936,7 +936,7 @@ static int asus_hotk_get_info(void)
936 936
937 /* There is a lot of models with "ALSL", but a few get 937 /* There is a lot of models with "ALSL", but a few get
938 a real light sens, so we need to check it. */ 938 a real light sens, so we need to check it. */
939 if (ASUS_HANDLE_INIT(ls_switch)) 939 if (!ASUS_HANDLE_INIT(ls_switch))
940 ASUS_HANDLE_INIT(ls_level); 940 ASUS_HANDLE_INIT(ls_level);
941 941
942 ASUS_HANDLE_INIT(gps_on); 942 ASUS_HANDLE_INIT(gps_on);