i2c: stm32: get rid of stm32f7_i2c_release_bus return value
authorAlain Volmat <alain.volmat@foss.st.com>
Wed, 1 Dec 2021 11:47:50 +0000 (12:47 +0100)
committerWolfram Sang <wsa@kernel.org>
Wed, 1 Dec 2021 21:14:01 +0000 (22:14 +0100)
commit05907656b94f6c1b96cbcc3063a683f4c580b63a
tree9acf990c88b9bf3efbf73296f71fbffa5cfc2952
parent1071d1ad31503cd45fabcdb5bfa778508f68f3a0
i2c: stm32: get rid of stm32f7_i2c_release_bus return value

Function stm32f7_i2c_release_bus is always returning 0, hence it
should be a void function.  Update the function and remove the
return value error checking code in caller functions.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-stm32f7.c