OSDN Git Service

media: i2c: ov5645: Drop fetching the clk reference by name
authorLad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Mon, 19 Sep 2022 14:33:50 +0000 (15:33 +0100)
committerSakari Ailus <sakari.ailus@linux.intel.com>
Tue, 25 Oct 2022 07:37:04 +0000 (10:37 +0300)
commit9084e2c8617a63c478b48810ff7a8985de55f308
tree145594b754cac368f1390f5ab2e21882ee29efd8
parent80113026d415e27483669db7a88b548d1ec3d3d1
media: i2c: ov5645: Drop fetching the clk reference by name

The OV5645 sensor has a single clock source, so just drop fetching the
clk reference by name.

This is in preparation to drop the "clock-names" property from the DT
binding.

Suggested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
drivers/media/i2c/ov5645.c