# 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 
- List: linux-input
- Page: https://ratatoskr.run/linux-input/2017/10/8930479
- Thread: https://ratatoskr.run/linux-input/2017/09/8930437/t.md

```text
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 <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

```
