Input: xpad - clarify LED enumeration
authorPavel Rojtberg <rojtberg@gmail.com>
Wed, 7 Oct 2015 00:06:16 +0000 (17:06 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 1 Dec 2018 08:48:00 +0000 (09:48 +0100)
commita9040f8123720e21c2d2c0e5ce13882febe7dbd1
treeff472d87c3835967219491f689ad238f73e23c1c
parent76caf6084180ba059d0bbb650bcb01d3468ba139
Input: xpad - clarify LED enumeration

[ Upstream commit 1f6f02b728eef0d937d5138ae60dbf8fbd045f3e ]

Rename led_no -> pad_nr: the number stored there is not the LED number - it
gets translated later on to a LED number in xpad_identify_controller;

Signed-off-by: Pavel Rojtberg <rojtberg@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/input/joystick/xpad.c