Input: xpad - fix incorrectly applied patch for MAP_PROFILE_BUTTON
authorMatthias Benkmann <matthias.benkmann@gmail.com>
Mon, 20 Mar 2023 04:30:15 +0000 (21:30 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 20 Mar 2023 04:35:19 +0000 (21:35 -0700)
commitffa6206ebf8d39e83d87ac226df68dbbe155819a
tree18115c8e1cd850c673c4f73bac3a40b28d861003
parent8a0432bab6ea3203d220785da7ab3c7677f70ecb
Input: xpad - fix incorrectly applied patch for MAP_PROFILE_BUTTON

When commit commit fff1011a26d6 ("Input: xpad - add X-Box Adaptive Profile
button") was applied, one hunk ended up in the wrong function; move it to
where it belongs.

Fixes: fff1011a26d6 ("Input: xpad - add X-Box Adaptive Profile button")
Signed-off-by: Matthias Benkmann <matthias.benkmann@gmail.com>
Link: https://lore.kernel.org/r/20230318162106.0aef4ba5@ninja
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/joystick/xpad.c