]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ata: pata_samsung_cf: make pata_s3c_devchk() return 'bool'
authorSergey Shtylyov <s.shtylyov@omp.ru>
Wed, 9 Feb 2022 21:46:29 +0000 (00:46 +0300)
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>
Sat, 19 Feb 2022 02:18:43 +0000 (11:18 +0900)
commitbba077d801b1eed07b2ae9ee62a5b134cb1a6830
tree3e5fa27b05151d595c24128702a901a238c6b8a3
parent1336aa88d8553292604878c53538297fbc65bf0a
ata: pata_samsung_cf: make pata_s3c_devchk() return 'bool'

pata_s3c_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/pata_samsung_cf.c