]> www.infradead.org Git - linux.git/commit
Input: adc-joystick - move axes data into the main structure
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 21 Jun 2024 00:38:55 +0000 (17:38 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 21 Jun 2024 17:16:40 +0000 (10:16 -0700)
commit50717edb6dd74dbc0726fb2ba8723ba2a22a2011
tree8d2c50329bcb117d07de0cce890fd7502a493bec
parent703f12672e1f7ca9d13bbfa56ecdd741b1e2c9d1
Input: adc-joystick - move axes data into the main structure

There is no need to allocate axes information separately from the main
joystick structure so let's fold the allocation and also drop members
(such as range, flat and fuzz) that are only used during initialization
of the device.

Acked-by: Artur Rojek <contact@artur-rojek.eu>
Link: https://lore.kernel.org/r/ZmkrgTlxNwm_oHxv@google.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/joystick/adc-joystick.c