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

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>

authored by

Om Prakash and committed by
Samuel Ortiz
4dcaa6b6 63c8a58d

+5 -1
+1 -1
drivers/mfd/stmpe.c
··· 228 228 EXPORT_SYMBOL_GPL(stmpe_block_write); 229 229 230 230 /** 231 - * stmpe_set_altfunc: set the alternate function for STMPE pins 231 + * stmpe_set_altfunc()- set the alternate function for STMPE pins 232 232 * @stmpe: Device to configure 233 233 * @pins: Bitmask of pins to affect 234 234 * @block: block to enable alternate functions for
+1
drivers/mfd/stmpe.h
··· 42 42 * @id_mask: bits valid in CHIPID register for comparison with id_val 43 43 * @num_gpios: number of GPIOS 44 44 * @af_bits: number of bits used to specify the alternate function 45 + * @regs: variant specific registers. 45 46 * @blocks: list of blocks present on this device 46 47 * @num_blocks: number of blocks present on this device 47 48 * @num_irqs: number of internal IRQs available on this device
+3
include/linux/mfd/stmpe.h
··· 57 57 * @irq_lock: IRQ bus lock 58 58 * @dev: device, mostly for dev_dbg() 59 59 * @i2c: i2c client 60 + * @partnum: part number 60 61 * @variant: the detected STMPE model number 61 62 * @regs: list of addresses of registers which are at different addresses on 62 63 * different variants. Indexed by one of STMPE_IDX_*. ··· 122 121 * @norequest_mask: bitmask specifying which GPIOs should _not_ be 123 122 * requestable due to different usage (e.g. touch, keypad) 124 123 * STMPE_GPIO_NOREQ_* macros can be used here. 124 + * @setup: board specific setup callback. 125 + * @remove: board specific remove callback 125 126 */ 126 127 struct stmpe_gpio_platform_data { 127 128 int gpio_base;