mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 16:33:17 +00:00
Commit 633a21d80b ("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 structure instead.
Tested-by: Mika Westerberg <[email protected]>
Signed-off-by: Dmitry Torokhov <[email protected]>