ata: define ATA_PROT_* in terms of ATA_PROT_FLAG_*
authorChristoph Hellwig <hch@lst.de>
Sat, 16 Jul 2016 13:16:43 +0000 (22:16 +0900)
committerTejun Heo <tj@kernel.org>
Tue, 19 Jul 2016 00:55:38 +0000 (20:55 -0400)
commit37f92d77dc45d1fb74eff8501f26e72a3dcaa3cf
tree329727c34d87d22f1abfdd864ae8efce190fd340
parentd6e50e379eb1e7f2426eac61a1bbbf6e4cf68905
ata: define ATA_PROT_* in terms of ATA_PROT_FLAG_*

This avoid the need to always translate between the two in ata_prot_flags
and generally cleans up the taskfile protocol usage.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/sata_dwc_460ex.c
include/linux/ata.h
include/linux/libata.h