[PATCH 0/2] media: Use v4l2_subdev_get_fmt()

From: Umang Jain
Date: Wed Aug 30 2023 - 00:54:23 EST


Driver of imx214 and imx415 uses subdev active state,
there's no need to implement the .get_fmt() operation.
Use the v4l2_subdev_get_fmt() helper instead.

I don't have the sensors, so the patches are compile-tested
only.

Umang Jain (2):
media: i2c: imx214: Use v4l2_subdev_get_fmt()
media: i2c: imx415: Use v4l2_subdev_get_fmt()

drivers/media/i2c/imx214.c | 17 +----------------
drivers/media/i2c/imx415.c | 11 +----------
2 files changed, 2 insertions(+), 26 deletions(-)

--
2.41.0