driver core: return bool from driver_probe_done
authorChristoph Hellwig <hch@lst.de>
Wed, 31 May 2023 12:55:12 +0000 (14:55 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 5 Jun 2023 16:55:20 +0000 (10:55 -0600)
commitaa5f6ed8c21ec1aa5fd688118d8d5cd87c5ffc1d
tree5698e9d69ce818c563c6589b46f2367e644bf2ac
parentdd2e31afba9e3a3107aa202726b6199c55075f59
driver core: return bool from driver_probe_done

bool is the most sensible return value for a yes/no return.  Also
add __init as this funtion is only called from the early boot code.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20230531125535.676098-2-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/base/dd.c
include/linux/device/driver.h
init/do_mounts.c