[SCSI] pm8001: fix endian issue with code optimization.
authorSantosh Nayak <santoshprasadnayak@gmail.com>
Sun, 26 Feb 2012 14:44:46 +0000 (20:14 +0530)
committerJames Bottomley <JBottomley@Parallels.com>
Wed, 29 Feb 2012 22:54:09 +0000 (16:54 -0600)
commit8270ee2abb78c73b73e04f2909b0de15540c9017
treee5087044dd516f579309a1972dd574750badb307
parent50ec5babd3b9da274ac3e0d5ca0c4772e3c7bc8d
[SCSI] pm8001: fix endian issue with code optimization.

1. Fix endian issue.
2. Fix the following warning :
    " drivers/scsi/pm8001/pm8001_hwi.c:2932:32: warning: comparison
      between ‘enum sas_device_type’ and ‘enum sas_dev_type’".
3. Few code optimization.

Signed-off-by: Santosh Nayak <santoshprasadnayak@gmail.com>
Acked-by: Jack Wang <jack_wang@usish.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/pm8001/pm8001_chips.h
drivers/scsi/pm8001/pm8001_hwi.c
drivers/scsi/pm8001/pm8001_hwi.h