Thread (2 messages) 2 messages, 2 authors, 2017-10-02

[PATCH] HID: add comment for power callback in struct hid_ll_driver

From: Jaejoong Kim <hidden>
Date: 2017-09-20 09:41:09
Subsystem: hid core layer, the rest · Maintainers: Jiri Kosina, Benjamin Tissoires, Linus Torvalds

There is a missing comment in struct hid_ll_driver. So, add it.

Signed-off-by: Jaejoong Kim <redacted>
---
 include/linux/hid.h | 1 +
 1 file changed, 1 insertion(+)
diff --git a/include/linux/hid.h b/include/linux/hid.h
index ab05a86..7c3d4a1 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)
-- 
2.7.4
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help