Re: [PATCH v3 1/3] Input: gpio_keys - use dev instead of pdev in gpio_keys_setup_key()

2014-04-28 Thread Andy Shevchenko
On Fri, 2014-04-25 at 14:21 -0700, Dmitry Torokhov wrote: > On Fri, Apr 25, 2014 at 07:22:15PM +0300, Andy Shevchenko wrote: > > The platform device is not used in gpio_keys_setup_key(). This patch > > substitutes it by struct device. > > And the benefit of this is...? Probably no benefit for now

Re: [PATCH v3 1/3] Input: gpio_keys - use dev instead of pdev in gpio_keys_setup_key()

2014-04-25 Thread Dmitry Torokhov
On Fri, Apr 25, 2014 at 07:22:15PM +0300, Andy Shevchenko wrote: > The platform device is not used in gpio_keys_setup_key(). This patch > substitutes it by struct device. And the benefit of this is...? > > Signed-off-by: Andy Shevchenko > --- > drivers/input/keyboard/gpio_keys.c | 7 +++ >

[PATCH v3 1/3] Input: gpio_keys - use dev instead of pdev in gpio_keys_setup_key()

2014-04-25 Thread Andy Shevchenko
The platform device is not used in gpio_keys_setup_key(). This patch substitutes it by struct device. Signed-off-by: Andy Shevchenko --- drivers/input/keyboard/gpio_keys.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/input/keyboard/gpio_keys.c b/drivers/inp