/* pm8001_find_ha_by_dev - from domain device which come from sas layer to find out our hba struct. @dev: the domain device which from sas layer.  */
static struct pm8001_hba_info* pm8001_find_ha_by_dev(struct domain_device *dev)
/* pm8001_find_ha_by_dev - from domain device which come from sas layer to find out our hba struct. @dev: the domain device which from sas layer.  */
static struct pm8001_hba_info* pm8001_find_ha_by_dev(struct domain_device *dev)
{
	struct sas_ha_struct *sha = dev->port->ha;
	struct pm8001_hba_info *pm8001_ha = sha->lldd_ha;
	return pm8001_ha;
}