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

gpio: gpio_keys_zephyr: drop one instance of num_keys



The driver currently stores num_keys in both config and data. Drop the
data copy, save 4 bytes of RAM.

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