]> git.dujemihanovic.xyz Git - u-boot.git/commit
i2c: stm32: remove unused stop parameter in start & reload handling
authorAlain Volmat <alain.volmat@foss.st.com>
Mon, 12 Sep 2022 08:41:59 +0000 (10:41 +0200)
committerPatrick Delaunay <patrick.delaunay@foss.st.com>
Thu, 15 Sep 2022 12:58:57 +0000 (14:58 +0200)
commitbcc7509265928895128c3a3b96087b9005ea6961
tree1912894ade6f1633840ff7a8f41995f943b1d6c1
parent923d80288a32b999de3ec51181c46c93f01f953a
i2c: stm32: remove unused stop parameter in start & reload handling

Functions stm32_i2c_message_start and stm32_i2c_handle_reload
both get a stop boolean indicating if the transfer should end with
a STOP or not.  However no specific handling is needed in those
functions hence remove the parameter.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
drivers/i2c/stm32f7_i2c.c