Commit cb3a64b6 authored by Xu Wang's avatar Xu Wang Committed by Greg Kroah-Hartman
Browse files

drm: bridge: adv7511: Remove redundant null check before clk_disable_unprepare



[ Upstream commit 3fc5a284 ]

Because clk_disable_unprepare() already checked NULL clock parameter,
so the additional check is unnecessary, just remove them.

Signed-off-by: default avatarXu Wang <vulab@iscas.ac.cn>
Reviewed-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Stable-dep-of: 81adbd3f ("drm: adv7511: Fix use-after-free in adv7533_attach_dsi()")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 8ff6f635
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment