diff options
author | 2015-01-15 15:09:35 +0100 | |
---|---|---|
committer | 2015-01-19 09:53:25 -0500 | |
commit | 6033798121e154005cd537c192729025c9da8901 (patch) | |
tree | 7b61b96b271f33905159fc70ac85cf4ee14567e4 /Documentation/devicetree/bindings/soc | |
parent | sata_rcar: extend PM methods (diff) | |
download | linux-dev-6033798121e154005cd537c192729025c9da8901.tar.xz linux-dev-6033798121e154005cd537c192729025c9da8901.zip |
ata: libahci: Clean-up the ahci_platform_en/disable_phys functions
The phy_ functions handle the NULL pointer case, so there is no need
to skip them if there is a NULL pointer. Moreover, after the error
label there is already no check on the pointer. This patch removes the
unnecessary tests and brings some consistency.
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/soc')
0 files changed, 0 insertions, 0 deletions