Re: [PATCH 1/6] Input: gpio_keys_polled - keep button data constant

2016-10-31 Thread Mika Westerberg
On Fri, Oct 28, 2016 at 04:14:39PM -0700, Dmitry Torokhov wrote: > diff --git a/include/linux/gpio_keys.h b/include/linux/gpio_keys.h > index ee2d8c6..d1250ad 100644 > --- a/include/linux/gpio_keys.h > +++ b/include/linux/gpio_keys.h > @@ -2,7 +2,6 @@ > #define _GPIO_KEYS_H > > struct device; >

[PATCH 1/6] Input: gpio_keys_polled - keep button data constant

2016-10-28 Thread Dmitry Torokhov
Commit 633a21d80b4a ("input: gpio_keys_polled: Add support for GPIO descriptors") placed gpio descriptor into gpio_keys_button structure, which is supposed to be part of platform data and not modifiable by the driver. To keep the data constant, let's move the descriptor to gpio_keys_button_data str