]> 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)
commit37ba1b6bac25cd40447f843e12aa7f7e368a8e9b
treea0c31f82521df9a84c833260e75a0235f2fc1711
parent30efd23cc9581169b2e95fdad952f469d242e6d9
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