/* Returns: %1 if the device represents a SAS remote PHY, %0 else  */
int scsi_is_sas_rphy(const struct device *dev)
/* Returns: %1 if the device represents a SAS remote PHY, %0 else  */
int scsi_is_sas_rphy(const struct device *dev)
{
	return dev->release == sas_end_device_release ||
		dev->release == sas_expander_release;
}