ata: libata-sff: make ata_devchk() return 'bool'
authorSergey Shtylyov <s.shtylyov@omp.ru>
Wed, 9 Feb 2022 21:46:28 +0000 (00:46 +0300)
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>
Thu, 10 Feb 2022 02:56:19 +0000 (11:56 +0900)
commit587ff60693c0876aed8c65cd7809a7a96839e49a
treec244a7d96e60e14b79547ec3830c1f972958dccd
parenta4687eac2cd5a4ef5aae51700741d09880f613e1
ata: libata-sff: make ata_devchk() return 'bool'

ata_devchk() returns 1 if a device is present, 0 if not -- the 'bool' type
clearly fits better here than 'unsigned int'...

Signed-off-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
drivers/ata/libata-sff.c