Input: pxrc - do not store unneeded data in driver structure
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 18 Jul 2018 18:24:27 +0000 (18:24 +0000)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 25 Jul 2018 19:04:18 +0000 (19:04 +0000)
commitc8783d3930338323bd65f8043a8fd5ea22026824
treefe9dd8d7df209960656749f27ec5cd62a2206445
parentce55f75f039479fc67ab978560067717fa26e1c8
Input: pxrc - do not store unneeded data in driver structure

There is no need to store data buffer size, pointer to the buffer, or endpoint
address in pxrc structure, as they are either only needed during setup, or are
available from elsewhere.

Reviewed-by: Marcus Folkesson <marcus.folkesson@gmail.com>
Tested-by: Marcus Folkesson <marcus.folkesson@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/joystick/pxrc.c