libata: use ata_tag_internal() consistently
authorJens Axboe <axboe@kernel.dk>
Fri, 11 May 2018 15:20:52 +0000 (09:20 -0600)
committerJens Axboe <axboe@kernel.dk>
Fri, 11 May 2018 16:20:45 +0000 (10:20 -0600)
commite168118ef3c1d5e5d5c67293733f52122bd82423
treeb8d6451154330c575a7f1c747d740a01149e5324
parente4ecd42d84ca89b6ddafd8d6a430827f0599ccc8
libata: use ata_tag_internal() consistently

Some check for the value directly, use the provided helper instead.
Also make it return a bool, since that's what it does.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/ata/libata-core.c
drivers/ata/libata-scsi.c
include/linux/libata.h