]> git.baikalelectronics.ru Git - kernel.git/commit
drm: bridge: adv7511: Remove redundant null check before clk_disable_unprepare
authorXu Wang <vulab@iscas.ac.cn>
Fri, 27 Nov 2020 09:18:29 +0000 (09:18 +0000)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 5 Jan 2021 05:20:42 +0000 (07:20 +0200)
commit3fc5a284213d5fca1c0807ea8725355d39808930
tree81934c7cbe7893e8c991eaedf8ff585db6499ea3
parent0647bf1556ebee3c727f574cab389c362f3edd22
drm: bridge: adv7511: 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/adv7511/adv7511_drv.c