]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
misc: apds990x: fix all kernel-doc warnings
authorRandy Dunlap <rdunlap@infradead.org>
Thu, 26 Feb 2026 05:12:07 +0000 (21:12 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Apr 2026 15:06:14 +0000 (17:06 +0200)
commit2d7ce8eb59ec880774c7500ac949f0100acba521
treec05735e1b742438cbee164f50b70cbd6cff8e3ed
parentbdb6189600cd0ac8d048550a7cdd773ce5516cca
misc: apds990x: fix all kernel-doc warnings

Move a #define so that it is not between kernel-doc and its struct
declaration.
Spell one struct member correctly.

Warning: include/linux/platform_data/apds990x.h:33 #define
 APDS_PARAM_SCALE 4096; error: Cannot parse struct or union!
Warning: include/linux/platform_data/apds990x.h:62 struct member
 'pdrive' not described in 'apds990x_platform_data'

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Link: https://patch.msgid.link/20260226051207.547152-1-rdunlap@infradead.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/platform_data/apds990x.h