Skip to content
Commit 3544cf57 authored by Dmitry Torokhov's avatar Dmitry Torokhov
Browse files

Input: rearrange input_alloc_device() to prepare for preallocating of vals



In preparation to have dev->vals memory pre-allocated rearrange
code in input_alloc_device() so that it allows handling multiple
points of failure.

Reviewed-by: default avatarJeff LaBundy <jeff@labundy.com>
Reviewed-by: default avatarBenjamin Tissoires <bentiss@kernel.org>
Link: https://lore.kernel.org/r/20240703213756.3375978-6-dmitry.torokhov@gmail.com


Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent d469647b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment