]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iio: adc: qcom-vadc-common: fix vadc_scale_fn_type kernel-doc
authorRandy Dunlap <rdunlap@infradead.org>
Fri, 17 Oct 2025 07:07:27 +0000 (00:07 -0700)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 20 Oct 2025 17:51:04 +0000 (18:51 +0100)
commitc5ebcc80fcf7d2c6ed917371f024d2da5bce9128
tree92f2ead9329c3e805b28059818d05e916f0b78fa
parent59795109fa67d2bee7c8c2847a487d4dddb428c1
iio: adc: qcom-vadc-common: fix vadc_scale_fn_type kernel-doc

Fix multiple warnings in enum vadc_scale_fn_type by adding a leading
'@' to the kernel-doc descriptions.

Fixed 14 warnings in this one enum, such as:
Warning: include/linux/iio/adc/qcom-vadc-common.h:123 Enum value
 'SCALE_DEFAULT' not described in enum 'vadc_scale_fn_type'
Warning: ../include/linux/iio/adc/qcom-vadc-common.h:123 Enum value
 'SCALE_THERM_100K_PULLUP' not described in enum 'vadc_scale_fn_type'
Warning: ../include/linux/iio/adc/qcom-vadc-common.h:123 Enum value
 'SCALE_PMIC_THERM' not described in enum 'vadc_scale_fn_type'

Also prevent the warning on SCALE_HW_CALIB_INVALID by marking it
"private:" so that kernel-doc notation is not needed for it.

This leaves only one warning here, which I don't know the
appropriate description of:
qcom-vadc-common.h:125: warning: Enum value
 'SCALE_HW_CALIB_PMIC_THERM_PM7' not described in enum 'vadc_scale_fn_type'

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
include/linux/iio/adc/qcom-vadc-common.h