From: Laurent Pinchart Date: Mon, 15 Feb 2021 04:27:26 +0000 (+0100) Subject: media: imx: imx7_mipi_csis: Acquire reset control without naming it X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=5c7cf0f3f006e270e04cafb638cdefb41101c2a5;p=linux.git media: imx: imx7_mipi_csis: Acquire reset control without naming it The device has a single reset line, there's thus no need to name it explicitly when calling devm_reset_control_get_exclusive(). Drop the name in preparation for the removal of the reset-names property in the DT binding. Signed-off-by: Laurent Pinchart Reviewed-by: Rui Miguel Silva Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/staging/media/imx/imx7-mipi-csis.c b/drivers/staging/media/imx/imx7-mipi-csis.c index 8cf860544b0a7..36eabab22bfb4 100644 --- a/drivers/staging/media/imx/imx7-mipi-csis.c +++ b/drivers/staging/media/imx/imx7-mipi-csis.c @@ -943,7 +943,7 @@ static int mipi_csis_parse_dt(struct platform_device *pdev, state->clk_frequency = DEFAULT_SCLK_CSIS_FREQ; /* Get MIPI PHY resets */ - state->mrst = devm_reset_control_get_exclusive(&pdev->dev, "mrst"); + state->mrst = devm_reset_control_get_exclusive(&pdev->dev, NULL); if (IS_ERR(state->mrst)) return PTR_ERR(state->mrst);