summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2026-02-24 00:30:19 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2026-02-24 00:47:52 +0300
commitfd3c7a4522dc75b8828e03b26ae7a84fee9cb4a0 (patch)
tree89e273043edf980d628787f880912efb32e01ec4 /include
parent7d2657320c788318a5ddf670441aba83211c7a4d (diff)
downloadlinux-fd3c7a4522dc75b8828e03b26ae7a84fee9cb4a0.tar.xz
Input: cros_ec_keyb - do not allocate keyboard state separately
Now that we know the upper bound for the number of columns, and know that it is pretty small, there is no point in allocating it separately. We are wasting more memory tracking the allocations. Embed valid_keys and old_kb_state directly into cros_ec_keyb structure. Reviewed-by: Tzung-Bi Shih <tzungbi@kernel.org> Link: https://patch.msgid.link/20260222003717.471977-6-dmitry.torokhov@gmail.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions