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

From: John Garry

Date: Tue Apr 21 2026 - 03:50:46 EST


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.