Skip to content

Commit a00cb25

Browse files
Lee Joneswsakernel
authored andcommitted
i2c: busses: i2c-stm32f4: Remove incorrectly placed ' ' from function name
Fixes the following W=1 kernel build warning(s): drivers/i2c/busses/i2c-stm32f4.c:321: warning: expecting prototype for stm32f4_i2c_write_ byte()(). Prototype was for stm32f4_i2c_write_byte() instead Signed-off-by: Lee Jones <lee.jones@linaro.org> Reviewed-by: Alain Volmat <alain.volmat@foss.st.com> Signed-off-by: Wolfram Sang <wsa@kernel.org>
1 parent 721a6fe commit a00cb25

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/i2c/busses/i2c-stm32f4.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ static int stm32f4_i2c_wait_free_bus(struct stm32f4_i2c_dev *i2c_dev)
313313
}
314314

315315
/**
316-
* stm32f4_i2c_write_ byte() - Write a byte in the data register
316+
* stm32f4_i2c_write_byte() - Write a byte in the data register
317317
* @i2c_dev: Controller's private data
318318
* @byte: Data to write in the register
319319
*/

0 commit comments

Comments
 (0)