media: ov02c10: Remove unnecessary hflip and vflip pointers
authorHans de Goede <johannes.goede@oss.qualcomm.com>
Mon, 8 Dec 2025 14:37:24 +0000 (15:37 +0100)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Tue, 6 Jan 2026 08:33:33 +0000 (09:33 +0100)
commit69d6c6fc79eb3a8309691250a3b0a9c1870c1f83
treebb7cc2df6c34e38549383b29bf34838a8880b8e9
parentb75710155a823369976bba9f3497cee113830ae9
media: ov02c10: Remove unnecessary hflip and vflip pointers

The cci_update_bits() inside ov02c10_set_ctrl() can use the passed
data in the ctrl argument to access the vflip control value.

After changing this there is no need to store a pointer to the hflip
and vflip controls inside struct ov02c10, drop these.

Reviewed-by: Bryan O'Donoghue <bod@kernel.org>
Reviewed-by: Sebastian Reichel <sre@kernel.org>
Tested-by: Sebastian Reichel <sre@kernel.org> # T14s Gen6 Snapdragon
Signed-off-by: Hans de Goede <johannes.goede@oss.qualcomm.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
drivers/media/i2c/ov02c10.c