ata: sata_rcar: make sata_rcar_ata_devchk() return 'bool'
authorSergey Shtylyov <s.shtylyov@omp.ru>
Wed, 9 Feb 2022 21:46:30 +0000 (00:46 +0300)
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>
Thu, 10 Feb 2022 02:56:23 +0000 (11:56 +0900)
commit244c69a1d85218f7fac34c8d781c97e5880c6c69
treea344ca48b2e083ca996bcc49295102fd103457c2
parent6eba92e138483958d12349ea9b8d09be629f02b6
ata: sata_rcar: make sata_rcar_ata_devchk() return 'bool'

sata_rcar_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/sata_rcar.c