Re: [PATCH 3/5] driver core: async device shutdown infrastructure

John Garry
2026-04-21T07:50:01Z

On 20/04/2026 16:26, David Jeffery wrote:
> +static inline bool device_async_shutdown_enabled(struct device *dev)
> +{
> + return !!dev->async_shutdown;
> +}

nit: async_shutdown is already a bool, so no need for !!. Furthermore,
since this function returns a bool, that conversion is automatic.