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

2021-03-08 Thread Jonathan Corbet
Geert Uytterhoeven  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


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

2021-03-03 Thread Greg Kroah-Hartman
On Wed, Mar 03, 2021 at 02:38:43PM +0100, Geert Uytterhoeven wrote:
>   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

Thanks for adding these:

Reviewed-by: Greg Kroah-Hartman 


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

2021-03-03 Thread Geert Uytterhoeven
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(-)

-- 
2.25.1

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds