scsi: libsas: aic94xx: hisi_sas: mvsas: pm8001: Use dev_is_expander()
[linux-2.6-microblaze.git] / drivers / scsi / isci / request.c
index 1b18cf5..343d24c 100644 (file)
@@ -224,7 +224,7 @@ static void scu_ssp_request_construct_task_context(
        idev = ireq->target_device;
        iport = idev->owning_port;
 
-       /* Fill in the TC with the its required data */
+       /* Fill in the TC with its required data */
        task_context->abort = 0;
        task_context->priority = 0;
        task_context->initiator_request = 1;
@@ -506,7 +506,7 @@ static void scu_sata_request_construct_task_context(
        idev = ireq->target_device;
        iport = idev->owning_port;
 
-       /* Fill in the TC with the its required data */
+       /* Fill in the TC with its required data */
        task_context->abort = 0;
        task_context->priority = SCU_TASK_PRIORITY_NORMAL;
        task_context->initiator_request = 1;
@@ -3101,7 +3101,7 @@ sci_io_request_construct(struct isci_host *ihost,
                /* pass */;
        else if (dev_is_sata(dev))
                memset(&ireq->stp.cmd, 0, sizeof(ireq->stp.cmd));
-       else if (dev_is_expander(dev))
+       else if (dev_is_expander(dev->dev_type))
                /* pass */;
        else
                return SCI_FAILURE_UNSUPPORTED_PROTOCOL;
@@ -3235,7 +3235,7 @@ sci_io_request_construct_smp(struct device *dev,
        iport = idev->owning_port;
 
        /*
-        * Fill in the TC with the its required data
+        * Fill in the TC with its required data
         * 00h
         */
        task_context->priority = 0;