Commit ed33833e authored by Lee Jones's avatar Lee Jones Committed by Jonathan Cameron

iio: chemical: sgp30: Add description for sgp_read_cmd()'s 'duration_us'

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

 drivers/iio/chemical/sgp30.c:236: warning: Function parameter or member 'duration_us' not described in 'sgp_read_cmd'
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Cc: Andreas Brauchli <a.brauchli@elementarea.net>
Cc: Pascal Sachs <pascal.sachs@sensirion.com>
Link: https://lore.kernel.org/r/20200716135928.1456727-6-lee.jones@linaro.orgSigned-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent faeda919
...@@ -227,6 +227,7 @@ static int sgp_verify_buffer(const struct sgp_data *data, ...@@ -227,6 +227,7 @@ static int sgp_verify_buffer(const struct sgp_data *data,
* @cmd: SGP Command to issue * @cmd: SGP Command to issue
* @buf: Raw data buffer to use * @buf: Raw data buffer to use
* @word_count: Num words to read, excluding CRC bytes * @word_count: Num words to read, excluding CRC bytes
* @duration_us: Time taken to sensor to take a reading and data to be ready.
* *
* Return: 0 on success, negative error otherwise. * Return: 0 on success, negative error otherwise.
*/ */
......
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