media: staging: media: imx: imx7-media-csi: Remove imx_media_of_add_csi
authorPaul Elder <paul.elder@ideasonboard.com>
Fri, 6 May 2022 11:36:58 +0000 (12:36 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 8 Jul 2022 17:02:33 +0000 (18:02 +0100)
commit08b1fedddf1c7db7c7278cc1f985b394fd1a4bf1
tree5a3b34a4e2840fd72ffca65b44198d078e73127e
parent8ace5084d102c4bdc83cb4f8caa69754c2426f9d
media: staging: media: imx: imx7-media-csi: Remove imx_media_of_add_csi

imx_media_of_add_csi() from imx-media-of.c validates that the fwnode for
the CSI bridge is enabled, and adds the fwnode to the async notifier of
the imxmd. The former is redundant, as if the CSI bridge driver probes,
clearly it is enabled in the DT. The latter is not needed as the imxmd
notifier isn't used anymore. The call is thus not needed and can be
dropped. This removes the dependency of imx7-media-csi.c on
imx-media-of.c.

Signed-off-by: Paul Elder <paul.elder@ideasonboard.com>
Acked-by: Rui Miguel Silva <rmfrfs@gmail.com>
Tested-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/staging/media/imx/imx7-media-csi.c