Input: pmic8xxx-pwrkey - pass input device directly to interrupt
authorStephen Boyd <[email protected]>
Sun, 15 Dec 2013 11:14:47 +0000 (03:14 -0800)
committerDmitry Torokhov <[email protected]>
Sun, 15 Dec 2013 11:58:56 +0000 (03:58 -0800)
commitb27f8fee4965f42405720097af045a8deebd3bcc
treee6723e9ea4a5a4b8a78f95310b50ffcb0b820333
parent21014b80257846a5561b0d0e8fed47a65edebf46
Input: pmic8xxx-pwrkey - pass input device directly to interrupt

Instead of passing the pointer to the container structure just
pass the input device here. This saves a dereference in the fast
path.

Signed-off-by: Stephen Boyd <[email protected]>
Signed-off-by: Dmitry Torokhov <[email protected]>
drivers/input/misc/pmic8xxx-pwrkey.c