diff options
author | Andy Fleming <afleming@freescale.com> | 2011-11-11 06:10:39 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-12-07 19:54:57 +0100 |
commit | 28d8ea2d568534026ccda3e8936f5ea1e04a86a1 (patch) | |
tree | d7c78af7617d8251a34bf332cebede6a68b7312c /drivers/ata/ahci_platform.c | |
parent | ppp: fix pptp double release_sock in pptp_bind() (diff) | |
download | linux-28d8ea2d568534026ccda3e8936f5ea1e04a86a1.tar.xz linux-28d8ea2d568534026ccda3e8936f5ea1e04a86a1.zip |
fsl_pq_mdio: Clean up tbi address configuration
The code for setting the address of the internal TBI PHY was
convoluted enough without a maze of ifdefs. Clean it up a bit
so we allow the logic to fail down to -ENODEV at the end of
the if/else ladder, rather than using ifdefs to repeat the same
failure code over and over.
Also, remove the support for the auto-configuration. I'm not aware of
anyone using it, and it ends up using the bus mutex before it's been
initialized.
Signed-off-by: Andy Fleming <afleming@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/ata/ahci_platform.c')
0 files changed, 0 insertions, 0 deletions