PCI: armada8k: Remove useless test before clk_disable_unprepare()
commit5dcd7f15ac0c113b46adc80e66dac58024e56e97
authorGregory CLEMENT <gregory.clement@bootlin.com>
Wed, 28 Feb 2018 16:35:29 +0000 (28 17:35 +0100)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Thu, 8 Mar 2018 15:23:35 +0000 (8 15:23 +0000)
treed6cadfe2af5906de2331f5e8353fc1403f85b86b
parent7928b2cbe55b2a410a0f5c1f154610059c57b1b2
PCI: armada8k: Remove useless test before clk_disable_unprepare()

clk_disable_unprepare() already checks that the clock pointer is valid.
No need to test it before calling it.

Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
[lorenzo.pieralisi@arm.com: updated commit log]
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
drivers/pci/dwc/pcie-armada8k.c