Skip to content

Commit b0102a8

Browse files
mbggwsakernel
authored andcommitted
i2c: mediatek: Fix i2c_spec_values description
The struct i2c_spec_values have it's members documented but is missing the starting '@', which leads to warings like: drivers/i2c/busses/i2c-mt65xx.c:267: warning: Function parameter or member 'min_low_ns' not described in 'i2c_spec_values' We also delete min_high_ns member as it is not used in the code. Signed-off-by: Matthias Brugger <[email protected]> Reviewed-by: Qii Wang <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
1 parent 789e67b commit b0102a8

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

drivers/i2c/busses/i2c-mt65xx.c

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -253,14 +253,13 @@ struct mtk_i2c {
253253

254254
/**
255255
* struct i2c_spec_values:
256-
* min_low_ns: min LOW period of the SCL clock
257-
* min_su_sta_ns: min set-up time for a repeated START condition
258-
* max_hd_dat_ns: max data hold time
259-
* min_su_dat_ns: min data set-up time
256+
* @min_low_ns: min LOW period of the SCL clock
257+
* @min_su_sta_ns: min set-up time for a repeated START condition
258+
* @max_hd_dat_ns: max data hold time
259+
* @min_su_dat_ns: min data set-up time
260260
*/
261261
struct i2c_spec_values {
262262
unsigned int min_low_ns;
263-
unsigned int min_high_ns;
264263
unsigned int min_su_sta_ns;
265264
unsigned int max_hd_dat_ns;
266265
unsigned int min_su_dat_ns;

0 commit comments

Comments
 (0)