scsi: libsas: aic94xx: hisi_sas: mvsas: pm8001: Use dev_is_expander()
[linux-2.6-microblaze.git] / drivers / scsi / mvsas / mv_sas.c
index e933c65..0ee688f 100644 (file)
@@ -1209,7 +1209,7 @@ static int mvs_dev_found_notify(struct domain_device *dev, int lock)
        mvi_device->dev_type = dev->dev_type;
        mvi_device->mvi_info = mvi;
        mvi_device->sas_device = dev;
-       if (parent_dev && DEV_IS_EXPANDER(parent_dev->dev_type)) {
+       if (parent_dev && dev_is_expander(parent_dev->dev_type)) {
                int phy_id;
                u8 phy_num = parent_dev->ex_dev.num_phys;
                struct ex_phy *phy;