ata: libata-sff: make ata_resources_present() return 'bool'
authorSergey Shtylyov <s.shtylyov@omp.ru>
Sun, 13 Feb 2022 11:50:00 +0000 (14:50 +0300)
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>
Sat, 19 Feb 2022 02:18:49 +0000 (11:18 +0900)
commitb51aa532e105722d0dfb21718f0b32780c9e8e8d
treededfca52b111ff33d14fe8a9f4f3cb9ca08309e4
parent25d83f9d23d8ff61ba7e2815a2ffc7c974003bdd
ata: libata-sff: make ata_resources_present() return 'bool'

ata_resources_present() returns 1 if the primary/secondary channel's PCI
resources are present,  0 if not -- the 'bool' type fits somewhat better
here than 'int'...

Use the *= operator, while at it...

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