ide: cleanup ->prep_rq calling convention
authorChristoph Hellwig <hch@lst.de>
Fri, 9 Nov 2018 13:42:35 +0000 (14:42 +0100)
committerJens Axboe <axboe@kernel.dk>
Sat, 10 Nov 2018 02:17:13 +0000 (19:17 -0700)
commit535ac5d3fe63b9ea1dda379f606f9d0d377d7184
treea007c66ce4e12a4086085f48dddf1946e67f85f0
parent9d037ad707ed6069fbea4e38e6ee37e027b13f1d
ide: cleanup ->prep_rq calling convention

The return value is just used as a binary yes/no decision, so switch
it to a bool instead of the old BLKPREP_* values returned as an int.

Also clean up a few related comments.

Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/ide/ide-cd.c
drivers/ide/ide-disk.c
drivers/ide/ide-io.c
include/linux/ide.h