scsi: megaraid_sas: replace instance->ctrl_context checks with instance->adapter_type
authorShivasharan S <shivasharan.srikanteshwara@broadcom.com>
Thu, 19 Oct 2017 09:48:50 +0000 (02:48 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 25 Oct 2017 08:55:23 +0000 (04:55 -0400)
commite7d36b88435077847e1ea992919c600f3fa9321c
tree7a863d1cc416299bac2bba9281ee79eca99e915c
parent754f1bae0f1e306118f1e2628f781eba056874ed
scsi: megaraid_sas: replace instance->ctrl_context checks with instance->adapter_type

Increase code readability. No functional change.

Signed-off-by: Kashyap Desai <kashyap.desai@broadcom.com>
Signed-off-by: Shivasharan S <shivasharan.srikanteshwara@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/megaraid/megaraid_sas_base.c