Input: xpad - use LED API when identifying wireless controllers
commitd9be398afb2c3333716324352d062c50112e4e86
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 16 Dec 2015 22:24:58 +0000 (16 14:24 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 4 Jan 2016 22:35:15 +0000 (4 14:35 -0800)
tree04355bfb72e4d52d928f20cdff4d5b06f2cb0059
parent4220f7db1e424f2a086ad41217b5770cc9f003a9
Input: xpad - use LED API when identifying wireless controllers

When lighting up the segment identifying wireless controller, Instead of
sending command directly to the controller, let's do it via LED API (usinf
led_set_brightness) so that LED object state is in sync with controller
state and we'll light up the correct segment on resume as well.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/joystick/xpad.c