Re: [PATCH 1/7] Input: pmic8xxx-pwrkey - Pass input device directly to interrupt

2013-12-16 Thread Stephen Boyd
On 12/15, Dmitry Torokhov wrote: > Hi Stephen, > > On Tue, Dec 10, 2013 at 03:43:10PM -0800, Stephen Boyd wrote: > > 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

Re: [PATCH 1/7] Input: pmic8xxx-pwrkey - Pass input device directly to interrupt

2013-12-16 Thread Stephen Boyd
On 12/15, Dmitry Torokhov wrote: Hi Stephen, On Tue, Dec 10, 2013 at 03:43:10PM -0800, Stephen Boyd wrote: 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

Re: [PATCH 1/7] Input: pmic8xxx-pwrkey - Pass input device directly to interrupt

2013-12-15 Thread Dmitry Torokhov
Hi Stephen, On Tue, Dec 10, 2013 at 03:43:10PM -0800, Stephen Boyd wrote: > 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 > --- > drivers/input/misc/pmic8xxx-pwrkey.c |

Re: [PATCH 1/7] Input: pmic8xxx-pwrkey - Pass input device directly to interrupt

2013-12-15 Thread Dmitry Torokhov
Hi Stephen, On Tue, Dec 10, 2013 at 03:43:10PM -0800, Stephen Boyd wrote: 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 sb...@codeaurora.org ---

[PATCH 1/7] Input: pmic8xxx-pwrkey - Pass input device directly to interrupt

2013-12-10 Thread Stephen Boyd
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 --- drivers/input/misc/pmic8xxx-pwrkey.c | 22 -- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git

[PATCH 1/7] Input: pmic8xxx-pwrkey - Pass input device directly to interrupt

2013-12-10 Thread Stephen Boyd
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 sb...@codeaurora.org --- drivers/input/misc/pmic8xxx-pwrkey.c | 22 -- 1 file changed, 8 insertions(+), 14