Re: [PATCH 0/2] docs: driver-model: device: Add helper macro examples

From: Jonathan Corbet
Date: Mon Mar 08 2021 - 19:08:16 EST


Geert Uytterhoeven <geert+renesas@xxxxxxxxx> writes:

> Hi Jon, Greg, Rafael,
>
> The DEVICE_ATTR_* and ATTRIBUTE_GROUPS() helper macros have existed for
> more than a decade, but are still not mentioned in the driver-model
> device documentation. Hence this patch series adds them, including
> examples, to the documentation.
>
> Thanks for your comments!
>
> Geert Uytterhoeven (2):
> docs: driver-model: device: Add DEVICE_ATTR_{RO,RW} examples
> docs: driver-model: device: Add ATTRIBUTE_GROUPS() example
>
> .../driver-api/driver-model/device.rst | 23 ++++++++++++++-----
> 1 file changed, 17 insertions(+), 6 deletions(-)

Set applied, thanks.

jon