diff options
| author | Dmitry Torokhov <[email protected]> | 2023-08-30 16:06:38 -0700 | 
|---|---|---|
| committer | Dmitry Torokhov <[email protected]> | 2023-08-30 16:06:38 -0700 | 
| commit | 1ac731c529cd4d6adbce134754b51ff7d822b145 (patch) | |
| tree | 143ab3f35ca5f3b69f583c84e6964b17139c2ec1 /drivers/gpu/drm/bridge/imx/imx8qxp-pixel-link.c | |
| parent | 07b4c950f27bef0362dc6ad7ee713aab61d58149 (diff) | |
| parent | 54116d442e001e1b6bd482122043b1870998a1f3 (diff) | |
Merge branch 'next' into for-linus
Prepare input updates for 6.6 merge window.
Diffstat (limited to 'drivers/gpu/drm/bridge/imx/imx8qxp-pixel-link.c')
| -rw-r--r-- | drivers/gpu/drm/bridge/imx/imx8qxp-pixel-link.c | 8 | 
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/gpu/drm/bridge/imx/imx8qxp-pixel-link.c b/drivers/gpu/drm/bridge/imx/imx8qxp-pixel-link.c index 9e5f2b4dc2e5..ed8b7a4e0e11 100644 --- a/drivers/gpu/drm/bridge/imx/imx8qxp-pixel-link.c +++ b/drivers/gpu/drm/bridge/imx/imx8qxp-pixel-link.c @@ -313,7 +313,7 @@ imx8qxp_pixel_link_find_next_bridge(struct imx8qxp_pixel_link *pl)  		}  		/* specially select the next bridge with companion PXL2DPI */ -		if (of_find_property(remote, "fsl,companion-pxl2dpi", NULL)) +		if (of_property_present(remote, "fsl,companion-pxl2dpi"))  			bridge_sel = ep_cnt;  		ep_cnt++; @@ -398,13 +398,11 @@ static int imx8qxp_pixel_link_bridge_probe(struct platform_device *pdev)  	return ret;  } -static int imx8qxp_pixel_link_bridge_remove(struct platform_device *pdev) +static void imx8qxp_pixel_link_bridge_remove(struct platform_device *pdev)  {  	struct imx8qxp_pixel_link *pl = platform_get_drvdata(pdev);  	drm_bridge_remove(&pl->bridge); - -	return 0;  }  static const struct of_device_id imx8qxp_pixel_link_dt_ids[] = { @@ -416,7 +414,7 @@ MODULE_DEVICE_TABLE(of, imx8qxp_pixel_link_dt_ids);  static struct platform_driver imx8qxp_pixel_link_bridge_driver = {  	.probe	= imx8qxp_pixel_link_bridge_probe, -	.remove = imx8qxp_pixel_link_bridge_remove, +	.remove_new = imx8qxp_pixel_link_bridge_remove,  	.driver	= {  		.of_match_table = imx8qxp_pixel_link_dt_ids,  		.name = DRIVER_NAME,  |