OSDN Git Service

HID: sony: Use LED_CORE_SUSPENDRESUME
authorFrank Praznik <frank.praznik@gmail.com>
Wed, 8 Feb 2017 18:58:43 +0000 (13:58 -0500)
committerJiri Kosina <jkosina@suse.cz>
Mon, 6 Mar 2017 12:45:34 +0000 (13:45 +0100)
commit765a1077c85e5f2efcc43582f80caf43a052e903
tree434eb1431a9770dbab16d0adee210b5be50db40a
parent81bbef23db51c0b450d90607fbbc2ad80ee0d43f
HID: sony: Use LED_CORE_SUSPENDRESUME

The LED subsystem provides the LED_CORE_SUSPENDRESUME flag to handle
automatically turning off and restoring the state of device LEDs during
suspend/resume.  Use this flag instead of saving and restoring the state
locally.

Signed-off-by: Frank Praznik <frank.praznik@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-sony.c