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>
Wed, 16 Feb 2022 06:59:31 +0000 (15:59 +0900)
commitd589f77896809387be4ee61332921c33d3bdae3a
treededfca52b111ff33d14fe8a9f4f3cb9ca08309e4
parente3a607e1b35297781d5a1cd49cea67f9ff87ccae
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