media: ov9640: Use the generic clock framework
authorEzequiel Garcia <ezequiel@collabora.com>
Tue, 12 Jan 2021 19:49:16 +0000 (20:49 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Sat, 6 Feb 2021 08:38:05 +0000 (09:38 +0100)
commit8de14b3acb9c7f4bcb8565a036dd579e5b7aaa7a
tree9eef00fb3f10f8fe38738fc0e53c927682a06864
parent832e6609f790bb7e6185200a31460741d161788f
media: ov9640: Use the generic clock framework

Commit 63839882c597 ("media: mach-pxa: palmz72/pcm990: remove soc_camera dependencies")
removed the last in-tree user of this sensor. New users
will be required to use the generic clock framework,
so it's possible to convert the driver to use it.

Convert the driver to use the CCF, and drop the legacy
v4l2-clk API.

Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
Acked-by: Petr Cvek <petrcvekcz@gmail.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/i2c/ov9640.c
drivers/media/i2c/ov9640.h