Skip to content

Commit 43b0f92

Browse files
Lee JonesJonathan Cameron
authored andcommitted
iio: light: si1145: Demote obvious misuse of kerneldoc to standard comment blocks
No attempt has been made to document any of the demoted functions here Fixes the following W=1 kernel build warning(s): drivers/iio/light/si1145.c:192: warning: Function parameter or member 'data' not described in '__si1145_command_reset' drivers/iio/light/si1145.c:228: warning: Function parameter or member 'data' not described in 'si1145_command' drivers/iio/light/si1145.c:228: warning: Function parameter or member 'cmd' not described in 'si1145_command' drivers/iio/light/si1145.c:1186: warning: Function parameter or member 'trig' not described in 'si1145_trigger_set_state' drivers/iio/light/si1145.c:1186: warning: Function parameter or member 'state' not described in 'si1145_trigger_set_state' Cc: Chuhong Yuan <hslester96@gmail.com> Cc: Dan Leonard <leonard.crestez@intel.com> Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
1 parent 0f2a346 commit 43b0f92

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎drivers/iio/light/si1145.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ struct si1145_data {
181181
int meas_rate;
182182
};
183183

184-
/**
184+
/*
185185
* __si1145_command_reset() - Send CMD_NOP and wait for response 0
186186
*
187187
* Does not modify data->rsp_seq
@@ -215,7 +215,7 @@ static int __si1145_command_reset(struct si1145_data *data)
215215
}
216216
}
217217

218-
/**
218+
/*
219219
* si1145_command() - Execute a command and poll the response register
220220
*
221221
* All conversion overflows are reported as -EOVERFLOW
@@ -1174,7 +1174,7 @@ static const struct iio_buffer_setup_ops si1145_buffer_setup_ops = {
11741174
.validate_scan_mask = si1145_validate_scan_mask,
11751175
};
11761176

1177-
/**
1177+
/*
11781178
* si1145_trigger_set_state() - Set trigger state
11791179
*
11801180
* When not using triggers interrupts are disabled and measurement rate is

0 commit comments

Comments
 (0)