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

From
Jiri Kosina <jikos@kernel.org>
Date
2017-10-02 10:47:34
Reply to
Jaejoong Kim, 2017-09-20
On Wed, 20 Sep 2017, Jaejoong Kim wrote:
quoted hunk ↗ jump to hunk
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)
Applied, thanks.

-- 
Jiri Kosina
SUSE Labs
Thread (2 messages) 2 messages, 2 authors, last reply 2017-10-02
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help