Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Randy Dunlap and committed by
Greg Kroah-Hartman
2d7ce8eb bdb61896

+2 -2
+2 -2
include/linux/platform_data/apds990x.h
··· 31 31 * itself. If the GA is zero, driver will use uncovered sensor default values 32 32 * format: decimal value * APDS_PARAM_SCALE except df which is plain integer. 33 33 */ 34 - #define APDS_PARAM_SCALE 4096 35 34 struct apds990x_chip_factors { 36 35 int ga; 37 36 int cf1; ··· 39 40 int irf2; 40 41 int df; 41 42 }; 43 + #define APDS_PARAM_SCALE 4096 42 44 43 45 /** 44 46 * struct apds990x_platform_data - platform data for apsd990x.c driver 45 47 * @cf: chip factor data 46 - * @pddrive: IR-led driving current 48 + * @pdrive: IR-led driving current 47 49 * @ppcount: number of IR pulses used for proximity estimation 48 50 * @setup_resources: interrupt line setup call back function 49 51 * @release_resources: interrupt line release call back function