media: ov5640: Remove ov5640_mode_init_data
authorJacopo Mondi <jacopo@jmondi.org>
Fri, 13 May 2022 14:14:02 +0000 (15:14 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 8 Jul 2022 14:25:25 +0000 (15:25 +0100)
commite4359019cb32c62093634201545ba132495ba058
treebfdb697b044e49af31dbf4d0f8c93aad85b8fa69
parentdb15c1957a2df363e9b23bf39fdbf99e43227ec0
media: ov5640: Remove ov5640_mode_init_data

The ov5640_mode_init_data is a fictional sensor more which is used to
program the initial sensor settings.

It is only used to initialize the sensor and can be replaced
it with a throw-away mode which just wraps the register table.

Also rename the register table to drop the format from the name to make
it clear an actual sensor mode has to be applied after the initial
programming.

Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/i2c/ov5640.c