Skip to content

Commit 4dcaa6b

Browse files
Om PrakashSamuel Ortiz
authored andcommitted
mfd: Fix missing stmpe kerneldoc
Generating kerneldoc for STMPE result in warnings, so fix this by adding missing documentation. Signed-off-by: Om Prakash <omprakash.pal@stericsson.com> Reviewed-by: Rabin Vincent <rabin.vincent@stericsson.com> Reviewed-by: Jonas Aberg <jonas.aberg@stericsson.com> Reviewed-by: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
1 parent 63c8a58 commit 4dcaa6b

3 files changed

Lines changed: 5 additions & 1 deletion

File tree

‎drivers/mfd/stmpe.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ int stmpe_block_write(struct stmpe *stmpe, u8 reg, u8 length,
228228
EXPORT_SYMBOL_GPL(stmpe_block_write);
229229

230230
/**
231-
* stmpe_set_altfunc: set the alternate function for STMPE pins
231+
* stmpe_set_altfunc()- set the alternate function for STMPE pins
232232
* @stmpe: Device to configure
233233
* @pins: Bitmask of pins to affect
234234
* @block: block to enable alternate functions for

‎drivers/mfd/stmpe.h‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ struct stmpe_variant_block {
4242
* @id_mask: bits valid in CHIPID register for comparison with id_val
4343
* @num_gpios: number of GPIOS
4444
* @af_bits: number of bits used to specify the alternate function
45+
* @regs: variant specific registers.
4546
* @blocks: list of blocks present on this device
4647
* @num_blocks: number of blocks present on this device
4748
* @num_irqs: number of internal IRQs available on this device

‎include/linux/mfd/stmpe.h‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ struct stmpe_variant_info;
5757
* @irq_lock: IRQ bus lock
5858
* @dev: device, mostly for dev_dbg()
5959
* @i2c: i2c client
60+
* @partnum: part number
6061
* @variant: the detected STMPE model number
6162
* @regs: list of addresses of registers which are at different addresses on
6263
* different variants. Indexed by one of STMPE_IDX_*.
@@ -121,6 +122,8 @@ struct stmpe_keypad_platform_data {
121122
* @norequest_mask: bitmask specifying which GPIOs should _not_ be
122123
* requestable due to different usage (e.g. touch, keypad)
123124
* STMPE_GPIO_NOREQ_* macros can be used here.
125+
* @setup: board specific setup callback.
126+
* @remove: board specific remove callback
124127
*/
125128
struct stmpe_gpio_platform_data {
126129
int gpio_base;

0 commit comments

Comments
 (0)