Skip to contentSkip to conversation

HID: add comment for power callback in struct hid_ll_driver

PATCH Applied Jaejoong Kim 2 participants 2 messages Sep 20, 2017 – Oct 2, 2017 HID

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 HID: add comment for power callback in struct hid_ll_driver

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

---
 include/linux/hid.h | 1 +
 1 file changed, 1 insertion(+)
include/linux/hid.h +1 -0
index ab05a86..7c3d4a1 100644
@@ -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)
Signature · 1 line
2.7.4
maintainer Applied
#1 lore raw
Quoted 12 lines · Jaejoong Kim

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

---
 include/linux/hid.h | 1 +
 1 file changed, 1 insertion(+)
include/linux/hid.h +0 -0
index ab05a86..7c3d4a1 100644

include/linux/hid.h struct hid_driver { · line 759

Quoted 7 lines
include/linux/hid.h +1 -0
@@ -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.

Signature · 2 lines
Jiri Kosina
SUSE Labs