Commit 4dcaa6b6 authored by Om Prakash's avatar Om Prakash Committed by Samuel Ortiz

mfd: Fix missing stmpe kerneldoc

Generating kerneldoc for STMPE result in warnings, so fix this by
adding missing documentation.
Signed-off-by: default avatarOm Prakash <omprakash.pal@stericsson.com>
Reviewed-by: default avatarRabin Vincent <rabin.vincent@stericsson.com>
Reviewed-by: default avatarJonas Aberg <jonas.aberg@stericsson.com>
Reviewed-by: default avatarSrinidhi Kasagar <srinidhi.kasagar@stericsson.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent 63c8a58d
...@@ -228,7 +228,7 @@ int stmpe_block_write(struct stmpe *stmpe, u8 reg, u8 length, ...@@ -228,7 +228,7 @@ int stmpe_block_write(struct stmpe *stmpe, u8 reg, u8 length,
EXPORT_SYMBOL_GPL(stmpe_block_write); EXPORT_SYMBOL_GPL(stmpe_block_write);
/** /**
* stmpe_set_altfunc: set the alternate function for STMPE pins * stmpe_set_altfunc()- set the alternate function for STMPE pins
* @stmpe: Device to configure * @stmpe: Device to configure
* @pins: Bitmask of pins to affect * @pins: Bitmask of pins to affect
* @block: block to enable alternate functions for * @block: block to enable alternate functions for
......
...@@ -42,6 +42,7 @@ struct stmpe_variant_block { ...@@ -42,6 +42,7 @@ struct stmpe_variant_block {
* @id_mask: bits valid in CHIPID register for comparison with id_val * @id_mask: bits valid in CHIPID register for comparison with id_val
* @num_gpios: number of GPIOS * @num_gpios: number of GPIOS
* @af_bits: number of bits used to specify the alternate function * @af_bits: number of bits used to specify the alternate function
* @regs: variant specific registers.
* @blocks: list of blocks present on this device * @blocks: list of blocks present on this device
* @num_blocks: number of blocks present on this device * @num_blocks: number of blocks present on this device
* @num_irqs: number of internal IRQs available on this device * @num_irqs: number of internal IRQs available on this device
......
...@@ -57,6 +57,7 @@ struct stmpe_variant_info; ...@@ -57,6 +57,7 @@ struct stmpe_variant_info;
* @irq_lock: IRQ bus lock * @irq_lock: IRQ bus lock
* @dev: device, mostly for dev_dbg() * @dev: device, mostly for dev_dbg()
* @i2c: i2c client * @i2c: i2c client
* @partnum: part number
* @variant: the detected STMPE model number * @variant: the detected STMPE model number
* @regs: list of addresses of registers which are at different addresses on * @regs: list of addresses of registers which are at different addresses on
* different variants. Indexed by one of STMPE_IDX_*. * different variants. Indexed by one of STMPE_IDX_*.
...@@ -121,6 +122,8 @@ struct stmpe_keypad_platform_data { ...@@ -121,6 +122,8 @@ struct stmpe_keypad_platform_data {
* @norequest_mask: bitmask specifying which GPIOs should _not_ be * @norequest_mask: bitmask specifying which GPIOs should _not_ be
* requestable due to different usage (e.g. touch, keypad) * requestable due to different usage (e.g. touch, keypad)
* STMPE_GPIO_NOREQ_* macros can be used here. * STMPE_GPIO_NOREQ_* macros can be used here.
* @setup: board specific setup callback.
* @remove: board specific remove callback
*/ */
struct stmpe_gpio_platform_data { struct stmpe_gpio_platform_data {
int gpio_base; int gpio_base;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment