Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/bridge: imx8qxp-ldb: cleanup return value

'ret' can only be 0 at this point, being preceded by a 'if (ret) return
ret;'. So return 0 for clarity.

Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Reviewed-by: Liu Ying <victor.liu@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250306-drm-two-ldb-improvements-v1-1-f139d768b92c@bootlin.com

authored by

Luca Ceresoli and committed by
Liu Ying
8c6c3d20 1bdf2ccc

+1 -1
+1 -1
drivers/gpu/drm/bridge/imx/imx8qxp-ldb.c
··· 662 662 663 663 ldb_add_bridge_helper(ldb, &imx8qxp_ldb_bridge_funcs); 664 664 665 - return ret; 665 + return 0; 666 666 } 667 667 668 668 static void imx8qxp_ldb_remove(struct platform_device *pdev)