isci: clarify phy to port lookups
authorDan Williams <dan.j.williams@intel.com>
Thu, 12 May 2011 13:00:31 +0000 (06:00 -0700)
committerDan Williams <dan.j.williams@intel.com>
Sun, 3 Jul 2011 11:04:48 +0000 (04:04 -0700)
commit4f20ef4f57aa52fd3356c143a8f3d2bd18dc61fc
tree27c2c01305cad71eb6ebaf96e67ad3ce8d834c30
parent5b1d4af25186f5d23dae7a538d8472dacd9486c8
isci: clarify phy to port lookups

While cleaning up the driver it is very tempting to convert scic_sds_get_*
macros to their open coded equivalent.  They are all just pointer dereferences
*except* scic_sds_phy_get_port() which returns NULL if the phy is assigned to
the dummy port.  Clarify this by renaming it to phy_get_non_dummy_port().

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/scsi/isci/host.c
drivers/scsi/isci/phy.c
drivers/scsi/isci/phy.h
drivers/scsi/isci/port.c
drivers/scsi/isci/port_config.c