aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/hid.h
diff options
context:
space:
mode:
authorJaejoong Kim <climbbb.kim@gmail.com>2017-09-20 18:40:36 +0900
committerJiri Kosina <jkosina@suse.cz>2017-10-02 12:47:26 +0200
commit4f210c2938053e894ee00500dd0661f7a27a6ff4 (patch)
tree5b9136cef5d350f7a9d2f11b57a78af604411063 /include/linux/hid.h
parentHID: make device_attribute const (diff)
downloadlinux-dev-4f210c2938053e894ee00500dd0661f7a27a6ff4.tar.xz
linux-dev-4f210c2938053e894ee00500dd0661f7a27a6ff4.zip
HID: add comment for power callback in struct hid_ll_driver
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>
Diffstat (limited to 'include/linux/hid.h')
-rw-r--r--include/linux/hid.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/hid.h b/include/linux/hid.h
index ab05a86269dc..7c3d4a17bbde 100644
--- a/include/linux/hid.h
+++ b/include/linux/hid.h
@@ -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)