isci: cleanup isci_remote_device[_not]_ready interface
authorDan Williams <dan.j.williams@intel.com>
Thu, 31 Mar 2011 20:10:42 +0000 (13:10 -0700)
committerDan Williams <dan.j.williams@intel.com>
Sun, 3 Jul 2011 11:00:36 +0000 (04:00 -0700)
commit037afc7812e2b202fbc18218e6c0eff34dad36ed
treec5a176ecc5aa34d6d1b98c9fd92797c4bb14155e
parented8a72d108bd951909b28fa4a89aad6489f414e1
isci: cleanup isci_remote_device[_not]_ready interface

Require a valid isci_host in support of the general cleanup to not
re-lookup the host via potentially fragile methods when more robust
methods are available.  Also cleans up some more casting that should be
using container_of() to up-cast a base structure in a more type-safe
manner.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/scsi/isci/core/scic_sds_remote_device.c
drivers/scsi/isci/core/scic_sds_smp_remote_device.c
drivers/scsi/isci/core/scic_sds_stp_remote_device.c
drivers/scsi/isci/remote_device.c
drivers/scsi/isci/remote_device.h