The entries pointer does not change, no need to have it in RAM, 4 bytes saved. Refactor the init macro a bit while at it. Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| input_longpress.c | ||
| input_utils.c | ||
| input.c | ||
| Kconfig | ||
The entries pointer does not change, no need to have it in RAM, 4 bytes saved. Refactor the init macro a bit while at it. Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| input_longpress.c | ||
| input_utils.c | ||
| input.c | ||
| Kconfig | ||