Re: [PATCH v2 1/1] device property: Document how to check for the property presence
From: Sakari Ailus
Date: Mon Mar 23 2026 - 04:47:58 EST
Hi Andy,
On Wed, Mar 18, 2026 at 03:21:40PM +0100, Andy Shevchenko wrote:
> Currently it's unclear if one may or may not rely on the error codes
> returned from the property getters to check for the property presence.
> Clarify this by updating kernel-doc for fwnode_property_*() and
> device_property_*() where it's applicable.
>
> Reported-by: Guenter Roeck <linux@xxxxxxxxxxxx>
> Closes: https://lore.kernel.org/r/4b24f1f4-b395-467a-81b7-1334a2d48845@xxxxxxxxxxxx
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
Thanks for the update.
Reviewed-by: Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx>
--
Kind regards,
Sakari Ailus