diff options
author | Lukas Bulwahn <lukas.bulwahn@gmail.com> | 2021-12-16 12:21:57 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2022-01-06 17:39:43 +0300 |
commit | 3809fe479861194e310c23ed48b010c7c0f72d22 (patch) | |
tree | 25283fcfb56289958fc201786ead690ac280a588 /include/linux/hid.h | |
parent | 98b6b62cd5569a158868b62dc7866b5aae5d9a38 (diff) | |
download | linux-3809fe479861194e310c23ed48b010c7c0f72d22.tar.xz |
HID: address kernel-doc warnings
The command ./scripts/kernel-doc -none include/linux/hid.h reports:
include/linux/hid.h:818: warning: cannot understand function prototype: 'struct hid_ll_driver '
include/linux/hid.h:1135: warning: expecting prototype for hid_may_wakeup(). Prototype was for hid_hw_may_wakeup() instead
Address those kernel-doc warnings.
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'include/linux/hid.h')
-rw-r--r-- | include/linux/hid.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/hid.h b/include/linux/hid.h index f453be385bd4..aaf89a8a836c 100644 --- a/include/linux/hid.h +++ b/include/linux/hid.h @@ -788,7 +788,7 @@ struct hid_driver { container_of(pdrv, struct hid_driver, driver) /** - * hid_ll_driver - low level driver callbacks + * struct hid_ll_driver - low level driver callbacks * @start: called on probe to start the device * @stop: called on remove * @open: called by input layer on open @@ -1158,7 +1158,7 @@ static inline int hid_hw_idle(struct hid_device *hdev, int report, int idle, } /** - * hid_may_wakeup - return if the hid device may act as a wakeup source during system-suspend + * hid_hw_may_wakeup - return if the hid device may act as a wakeup source during system-suspend * * @hdev: hid device */ |