OSDN Git Service

HID: add comment for power callback in struct hid_ll_driver
authorJaejoong Kim <climbbb.kim@gmail.com>
Wed, 20 Sep 2017 09:40:36 +0000 (18:40 +0900)
committerJiri Kosina <jkosina@suse.cz>
Mon, 2 Oct 2017 10:47:26 +0000 (12:47 +0200)
There is a missing comment in struct hid_ll_driver. So, add it.

Signed-off-by: Jaejoong Kim <climbbb.kim@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
include/linux/hid.h

index ab05a86..7c3d4a1 100644 (file)
@@ -753,6 +753,7 @@ struct hid_driver {
  * @stop: called on remove
  * @open: called by input layer on open
  * @close: called by input layer on close
+ * @power: request underlying hardware to enter requested power mode
  * @parse: this method is called only once to parse the device data,
  *        shouldn't allocate anything to not leak memory
  * @request: send report request to device (e.g. feature report)