ARM: OMAP2+: Remove redundant null check before clk_prepare_enable/clk_disable_unprepare
authorXu Wang <vulab@iscas.ac.cn>
Wed, 4 Nov 2020 06:45:05 +0000 (06:45 +0000)
committerTony Lindgren <tony@atomide.com>
Thu, 19 Nov 2020 09:45:42 +0000 (11:45 +0200)
commite106698cbb901d9b74dea4c9a3b5a7e6598ae481
tree655ba9b68271785893f309d4821807b589a3c13c
parent6d9be9376b0e29211b6e6c1775ba6f81fb6c4ea5
ARM: OMAP2+: Remove redundant null check before clk_prepare_enable/clk_disable_unprepare

Because clk_prepare_enable() and clk_disable_unprepare() already checked
NULL clock parameter, so the additional checks are unnecessary, just
remove them.

Signed-off-by: Xu Wang <vulab@iscas.ac.cn>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/display.c