libsas: use ata_is_ncq() and ata_has_dma() accessors
authorHannes Reinecke <hare@suse.de>
Thu, 14 Jul 2016 00:05:44 +0000 (09:05 +0900)
committerTejun Heo <tj@kernel.org>
Thu, 14 Jul 2016 14:45:02 +0000 (10:45 -0400)
commitb38d4d85b89c68b2748a5e225185073424510486
treec59c64beeaff1c09df72cbbb35129fdf40d5763f
parent179b310ae77ea4f924fe338af5c8983c3f339098
libsas: use ata_is_ncq() and ata_has_dma() accessors

Use accessors instead of the raw protocol value.

Signed-off-by: Hannes Reinecke <hare@suse.com>
[hch: trivial cleanup of the ata_task assignments]
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/scsi/libsas/sas_ata.c