]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/rockchip: dw_dp: Simplify error handling
authorCristian Ciocaltea <cristian.ciocaltea@collabora.com>
Mon, 9 Mar 2026 22:44:32 +0000 (00:44 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Thu, 26 Mar 2026 19:30:40 +0000 (20:30 +0100)
commit26cb3e26efa7cc84289966cab871889f6ca93616
tree97eded157e6d5ea0fe15a193b23572c50a2a6d10
parent9456381d8b60bb7dd42f2f04afe5ee4ce6e0bc12
drm/rockchip: dw_dp: Simplify error handling

Make the code a bit more compact by getting rid of the superfluous
assignments around PTR_ERR().

While at it, also drop dev assignment in dw_dp_probe().

Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patch.msgid.link/20260310-drm-rk-fixes-v2-4-645ecfb43f49@collabora.com
drivers/gpu/drm/rockchip/dw_dp-rockchip.c