media: imx: imx8mq-mipi-csi2: Remove unneeded state variable and function
authorMartin Kepplinger <martin.kepplinger@puri.sm>
Tue, 7 Mar 2023 15:00:47 +0000 (16:00 +0100)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Tue, 11 Apr 2023 16:11:53 +0000 (18:11 +0200)
commitbc85e79d4f4224fffb112a4900a943e0e1824f6a
treed93fcb87a80a837976be1667ec1f3d6f5093d5b1
parent36f6b2a33cd995b3cedd1c5c71788c24b9ef2516
media: imx: imx8mq-mipi-csi2: Remove unneeded state variable and function

Clean up the driver a bit by inlining the imx8mq_mipi_csi_system_enable()
function to the callsites and removing the hs_settle variable from the
driver state.

Signed-off-by: Martin Kepplinger <martin.kepplinger@puri.sm>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/staging/media/imx/imx8mq-mipi-csi2.c