]> asedeno.scripts.mit.edu Git - linux.git/commit
i2c: meson: update doc description to fix build warnings
authorYixun Lan <yixun.lan@amlogic.com>
Wed, 24 Jan 2018 07:05:14 +0000 (15:05 +0800)
committerWolfram Sang <wsa@the-dreams.de>
Fri, 26 Jan 2018 17:33:44 +0000 (18:33 +0100)
commit7e4c9d9e508f63b6371e4fcffc882e712c8307ad
tree97a598f01480d20d8b0e61bda2926466e44d76a0
parent931b18e92cd035353644fcefa3626a65c74fa799
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>
drivers/i2c/busses/i2c-meson.c