media: i2c: ov5640: put back driver as of linux v5.15-stm32mp-r2
This is straight copy of the ov5640.c file found within linux v5.15-stm32mp-r2-rc6-1 with the unique modification below in order to make the remove function returning void (and remove the return 0) -static int ov5640_remove(struct i2c_client *client) +static void ov5640_remove(struct i2c_client *client) Signed-off-by: Alain Volmat <alain.volmat@foss.st.com> Change-Id: I496dcbe3f926102ed838dbca63036393b68352e6 Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/linux-stm32/+/299307 Tested-by: Eric FOURMONT <eric.fourmont-ext@st.com> Reviewed-by: Eric FOURMONT <eric.fourmont-ext@st.com> Domain-Review: Eric FOURMONT <eric.fourmont-ext@st.com>
This commit is contained in:
committed by
Eric Fourmont
parent
edef9eb9d5
commit
abade3bf45