diff options
author | Andy Fleming <afleming@freescale.com> | 2011-11-11 05:10:39 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-11-14 00:26:11 -0500 |
commit | 952c5ca14eab113072716ae075c6fd184f011a89 (patch) | |
tree | 57f1bec991ce8e61f5745a198b83167f6d746673 /net | |
parent | e19df76a1113dc57cda696cd78d06f2834f6d6bb (diff) | |
download | op-kernel-dev-952c5ca14eab113072716ae075c6fd184f011a89.zip op-kernel-dev-952c5ca14eab113072716ae075c6fd184f011a89.tar.gz |
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 'net')
0 files changed, 0 insertions, 0 deletions