Commit 5497523e authored by Lee Jones's avatar Lee Jones Committed by Jonathan Cameron

iio: magnetometer: ak8974: Add description for ak8974's 'scan' attribute

Fixes the following W=1 kernel build warning(s):

 drivers/iio/magnetometer/ak8974.c:200: warning: Function parameter or member 'scan' not described in 'ak8974'

Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Samu Onkalo <samu.p.onkalo@nokia.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 8f0f0f2c
...@@ -180,6 +180,7 @@ ...@@ -180,6 +180,7 @@
* @drdy_irq: uses the DRDY IRQ line * @drdy_irq: uses the DRDY IRQ line
* @drdy_complete: completion for DRDY * @drdy_complete: completion for DRDY
* @drdy_active_low: the DRDY IRQ is active low * @drdy_active_low: the DRDY IRQ is active low
* @scan: timestamps
*/ */
struct ak8974 { struct ak8974 {
struct i2c_client *i2c; struct i2c_client *i2c;
......
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