[PATCH v3 1/6] ACPI: utils: Introduce acpi_dev_uid_match() for matching _UID

Andy Shevchenko andriy.shevchenko at linux.intel.com
Tue Oct 24 03:57:42 PDT 2023


On Tue, Oct 24, 2023 at 12:28:39PM +0300, Mika Westerberg wrote:
> On Tue, Oct 24, 2023 at 11:50:13AM +0530, Raag Jadav wrote:

...

> > + * Returns:
> > + *  - %true if matches.
> > + *  - %false otherwise.
> 
> Nit: these actually do not get formatted like above so you can just
> write it as
> 
> Returns: %true in case UIDs match, %false otherwise.
> 
> If it is even needed, I think it is pretty obvious from the function
> name what it returns.

kernel-doc complains if there is no Return: section in the text.

-- 
With Best Regards,
Andy Shevchenko





More information about the linux-arm-kernel mailing list