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

Greg Kroah-Hartman gregkh at linuxfoundation.org
Tue May 23 09:34:38 PDT 2023


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 at lst.de>
> ---
>  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 at linuxfoundation.org>



More information about the linux-mtd mailing list