Gregory CLEMENT 6033798121 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>
2015-01-19 09:53:25 -05:00
..
2014-12-14 16:10:09 -08:00
2014-12-04 13:18:55 -05:00
2014-03-11 08:30:53 -04:00
2014-12-14 16:10:09 -08:00
2008-01-23 05:24:15 -05:00
2015-01-19 09:04:37 -05:00
2014-03-26 12:36:53 -04:00
2007-07-02 10:17:42 -04:00