]> git.baikalelectronics.ru Git - kernel.git/commit
drm: bridge: dw-hdmi: Remove redundant null check before clk_disable_unprepare
authorXu Wang <vulab@iscas.ac.cn>
Fri, 27 Nov 2020 09:23:32 +0000 (09:23 +0000)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 5 Jan 2021 05:20:41 +0000 (07:20 +0200)
commit0647bf1556ebee3c727f574cab389c362f3edd22
treef417be3dbf9b384c85c44235cc4186dd75454270
parenta9a472aab9cd9a7636e2af031e48ab663130648f
drm: bridge: dw-hdmi: Remove redundant null check before clk_disable_unprepare

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

Signed-off-by: Xu Wang <vulab@iscas.ac.cn>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
drivers/gpu/drm/bridge/synopsys/dw-hdmi.c