diff --git a/drivers/input/joystick/xpad.c b/drivers/input/joystick/xpad.c index fa2612c9799c9fd49238fc34f8449bde16e23628..22e62056ca6b3a9b4051c7aca41962249710a0da 100644 --- a/drivers/input/joystick/xpad.c +++ b/drivers/input/joystick/xpad.c @@ -1140,7 +1140,7 @@ static void xpad_send_led_command(struct usb_xpad *xpad, int command) */ static void xpad_identify_controller(struct usb_xpad *xpad) { - xpad_send_led_command(xpad, (xpad->pad_nr % 4) + 2); + led_set_brightness(&xpad->led->led_cdev, (xpad->pad_nr % 4) + 2); } static void xpad_led_set(struct led_classdev *led_cdev,