]> git.baikalelectronics.ru Git - kernel.git/commit
Input: st1232 - do not allocate fingers data separately
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 22 Oct 2019 03:49:19 +0000 (20:49 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 29 Oct 2019 04:01:58 +0000 (21:01 -0700)
commitd770fb82f33fd6602f6b6b2f92f3f6bcc5ef97dc
treea0c31f82521df9a84c833260e75a0235f2fc1711
parent07e4fee5df9d59ed5b55680361e67f8f02fd7d7d
Input: st1232 - do not allocate fingers data separately

The finger structure size is quite small and allocating it together with
the main driver structure will not increase likelyhood of allocation
failing, but reduces number of objects needing to be tracked by the
allocator and devm.

Tested-by: Matthias Fend <Matthias.Fend@wolfvision.net>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/st1232.c