diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2012-07-19 22:08:45 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2012-07-20 11:24:24 +0200 |
commit | f2b5264d4f77328e45d73cd135772b6e88a4951a (patch) | |
tree | b23f34186a53e7692e7f950d6237e901dc34c59a /drivers/hid/hid-lg.c | |
parent | HID: usbhid: inline some simple routines (diff) | |
download | linux-f2b5264d4f77328e45d73cd135772b6e88a4951a.tar.xz linux-f2b5264d4f77328e45d73cd135772b6e88a4951a.zip |
HID: usbhid: replace HID_REPORTED_IDLE with HID_SUSPENDED
This patch (as1595) improves the usbhid driver by using the
HID_SUSPENDED bitflag to indicate that the device is suspended rather
than using HID_REPORTED_IDLE, which the patch removes.
Since HID_SUSPENDED was not being used for anything, and since the
name "HID_REPORTED_IDLE" doesn't convey much meaning, the end result
is easier to read and understand.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
CC: Oliver Neukum <oliver@neukum.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-lg.c')
0 files changed, 0 insertions, 0 deletions