Skip to content
Commit 2401743c authored by Fabio Baltieri's avatar Fabio Baltieri Committed by Carles Cufí
Browse files

input: gpio_keys: fix CONTAINER_OF declaration



Fix CONTAINER_OF usage in gpio_keys_interrupt, this should go first to
struct gpio_keys_callback and then to struct gpio_keys_pin_data. It
happens to work right now because cb_data is the first field.

Signed-off-by: default avatarFabio Baltieri <fabiobaltieri@google.com>
parent ec71be5d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment