The struct imx477 *ctrl parameter is not used in the function
imx477_adjust_exposure_range(), so remove it.
Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
return 0;
}
-static void imx477_adjust_exposure_range(struct imx477 *imx477,
- struct v4l2_ctrl *ctrl)
+static void imx477_adjust_exposure_range(struct imx477 *imx477)
{
int exposure_max, exposure_def;
* and adjust if necessary.
*/
if (ctrl->id == V4L2_CID_VBLANK)
- imx477_adjust_exposure_range(imx477, ctrl);
+ imx477_adjust_exposure_range(imx477);
/*
* Applying V4L2 control value only happens