mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 10:49:33 +00:00
i2c: meson: update doc description to fix build warnings
Add description for 'data' parameter and drop unused 'irq' memeber. Here is the warnings: drivers/i2c/busses/i2c-meson.c:103: warning: No description found for parameter 'data' drivers/i2c/busses/i2c-meson.c:103: warning: Excess struct member 'irq' description in 'meson_i2c' Reported-by: Wolfram Sang <wsa@the-dreams.de> Signed-off-by: Yixun Lan <yixun.lan@amlogic.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
This commit is contained in:
parent
931b18e92c
commit
7e4c9d9e50
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,6 @@ struct meson_i2c_data {
|
|||
* @dev: Pointer to device structure
|
||||
* @regs: Base address of the device memory mapped registers
|
||||
* @clk: Pointer to clock structure
|
||||
* @irq: IRQ number
|
||||
* @msg: Pointer to the current I2C message
|
||||
* @state: Current state in the driver state machine
|
||||
* @last: Flag set for the last message in the transfer
|
||||
|
@ -80,6 +79,7 @@ struct meson_i2c_data {
|
|||
* @done: Completion used to wait for transfer termination
|
||||
* @tokens: Sequence of tokens to be written to the device
|
||||
* @num_tokens: Number of tokens
|
||||
* @data: Pointer to the controlller's platform data
|
||||
*/
|
||||
struct meson_i2c {
|
||||
struct i2c_adapter adap;
|
||||
|
|
Loading…
Reference in a new issue