diff mbox

HID: add comment for power callback in struct hid_ll_driver

Message ID 1505900436-31183-1-git-send-email-climbbb.kim@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Jaejoong Kim Sept. 20, 2017, 9:40 a.m. UTC
There is a missing comment in struct hid_ll_driver. So, add it.

Signed-off-by: Jaejoong Kim <climbbb.kim@gmail.com>
---
 include/linux/hid.h | 1 +
 1 file changed, 1 insertion(+)

Comments

Jiri Kosina Oct. 2, 2017, 10:47 a.m. UTC | #1
On Wed, 20 Sep 2017, Jaejoong Kim wrote:

> There is a missing comment in struct hid_ll_driver. So, add it.
> 
> Signed-off-by: Jaejoong Kim <climbbb.kim@gmail.com>
> ---
>  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.
diff mbox

Patch

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)