aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/apm-power.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/apm-power.c')
-rw-r--r--drivers/input/apm-power.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/apm-power.c b/drivers/input/apm-power.c
index e90ee3d30613..650177a3c858 100644
--- a/drivers/input/apm-power.c
+++ b/drivers/input/apm-power.c
@@ -33,7 +33,7 @@ static void system_power_event(unsigned int keycode)
33} 33}
34 34
35static void apmpower_event(struct input_handle *handle, unsigned int type, 35static void apmpower_event(struct input_handle *handle, unsigned int type,
36 unsigned int code, int value) 36 unsigned int code, int value)
37{ 37{
38 /* only react on key down events */ 38 /* only react on key down events */
39 if (value != 1) 39 if (value != 1)