]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
HID: uclogic: Clarify pen/frame desc_ptr description
authorNikolai Kondrashov <spbnick@gmail.com>
Thu, 21 Apr 2022 17:50:49 +0000 (19:50 +0200)
committerJiri Kosina <jkosina@suse.cz>
Fri, 6 May 2022 06:34:31 +0000 (08:34 +0200)
Documentation improvements.

Signed-off-by: Nikolai Kondrashov <spbnick@gmail.com>
Signed-off-by: José Expósito <jose.exposito89@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-uclogic-params.h

index a489c92cee435c8e7063ca7ee8888c7ccbb33351..fa75efba3130e36c81e3fca735b5ae1eb31309e4 100644 (file)
@@ -62,8 +62,8 @@ struct uclogic_params_pen_subreport {
  */
 struct uclogic_params_pen {
        /*
-        * Pointer to report descriptor describing the inputs.
-        * Allocated with kmalloc.
+        * Pointer to report descriptor part describing the pen inputs.
+        * Allocated with kmalloc. NULL if the part is not specified.
         */
        __u8 *desc_ptr;
        /*
@@ -101,8 +101,8 @@ struct uclogic_params_pen {
  */
 struct uclogic_params_frame {
        /*
-        * Pointer to report descriptor describing the inputs.
-        * Allocated with kmalloc.
+        * Pointer to report descriptor part describing the frame inputs.
+        * Allocated with kmalloc. NULL if the part is not specified.
         */
        __u8 *desc_ptr;
        /*