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.

mfd: tps6105x: Fix kernel-doc warnings relating to the core struct and tps6105x_mode

Fix spelling of an enum to fix a kernel-doc warning.
Fix kernel-doc of struct tps6105x to prevent kernel-doc warnings.

Warning: include/linux/mfd/tps6105x.h:68 Enum value 'TPS6105X_MODE_TORCH'
not described in enum 'tps6105x_mode'
Warning: include/linux/mfd/tps6105x.h:68 Excess enum value
'%TPS61905X_MODE_TORCH' description in 'tps6105x_mode'
Warning: include/linux/mfd/tps6105x.h:93 struct member 'pdata'
not described in 'tps6105x'
Warning: include/linux/mfd/tps6105x.h:93 struct member 'client'
not described in 'tps6105x'

Fixes: 798a8eee44da ("mfd: Add a core driver for TI TPS61050/TPS61052 chips v2")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Link: https://patch.msgid.link/20251125022750.3165569-1-rdunlap@infradead.org
Signed-off-by: Lee Jones <lee@kernel.org>

authored by

Randy Dunlap and committed by
Lee Jones
ed30d029 12daa9c1

+3 -2
+3 -2
include/linux/mfd/tps6105x.h
··· 53 53 /** 54 54 * enum tps6105x_mode - desired mode for the TPS6105x 55 55 * @TPS6105X_MODE_SHUTDOWN: this instance is inactive, not used for anything 56 - * @TPS61905X_MODE_TORCH: this instance is used as a LED, usually a while 56 + * @TPS6105X_MODE_TORCH: this instance is used as a LED, usually a while 57 57 * LED, for example as backlight or flashlight. If this is set, the 58 58 * TPS6105X will register to the LED framework 59 59 * @TPS6105X_MODE_TORCH_FLASH: this instance is used as a flashgun, usually ··· 82 82 83 83 /** 84 84 * struct tps6105x - state holder for the TPS6105x drivers 85 - * @i2c_client: corresponding I2C client 85 + * @pdata: associated platform data 86 + * @client: corresponding I2C client 86 87 * @regulator: regulator device if used in voltage mode 87 88 * @regmap: used for i2c communcation on accessing registers 88 89 */