Re: [PATCH 01/24] driver core: return bool from driver_probe_done

From: Greg Kroah-Hartman
Date: Tue May 23 2023 - 12:35:14 EST


On Tue, May 23, 2023 at 09:45:12AM +0200, Christoph Hellwig wrote:
> 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@xxxxxx>
> ---
> drivers/base/dd.c | 6 ++----
> include/linux/device/driver.h | 2 +-
> init/do_mounts.c | 2 +-
> 3 files changed, 4 insertions(+), 6 deletions(-)

Acked-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>