mirror of
https://github.com/torvalds/linux.git
synced 2024-12-13 22:53:20 +00:00
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 <laurent.pinchart@ideasonboard.com> Reviewed-by: Rui Miguel Silva <rmfrfs@gmail.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
parent
43664fa55c
commit
5c7cf0f3f0
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user