Re: [PATCH v2 2/9] driver core: Add dev_set_drv_queue_sync_state()

From: Danilo Krummrich

Date: Wed Apr 22 2026 - 07:35:37 EST


On Wed Apr 22, 2026 at 12:25 PM CEST, Ulf Hansson wrote:
> Most of the static inline functions in device.h lacks documentation.
> Are you suggesting that we should move towards documenting all of
> them?

I'd prefer that, yes. After all, if they are defined in device.h, they are
public APIs, so they should ideally have documentation.

(If a function is only used throughout the driver core, it should be in
drivers/base/base.h instead.)