linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] docs: driver-model: device: Add helper macro examples
@ 2021-03-03 13:38 Geert Uytterhoeven
  2021-03-03 13:38 ` [PATCH 1/2] docs: driver-model: device: Add DEVICE_ATTR_{RO,RW} examples Geert Uytterhoeven
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Geert Uytterhoeven @ 2021-03-03 13:38 UTC (permalink / raw)
  To: Jonathan Corbet, Greg Kroah-Hartman, Rafael J . Wysocki
  Cc: linux-doc, linux-kernel, 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 -- geert@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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-03-09  0:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-03 13:38 [PATCH 0/2] docs: driver-model: device: Add helper macro examples Geert Uytterhoeven
2021-03-03 13:38 ` [PATCH 1/2] docs: driver-model: device: Add DEVICE_ATTR_{RO,RW} examples Geert Uytterhoeven
2021-03-03 13:38 ` [PATCH 2/2] docs: driver-model: device: Add ATTRIBUTE_GROUPS() example Geert Uytterhoeven
2021-03-03 14:05 ` [PATCH 0/2] docs: driver-model: device: Add helper macro examples Greg Kroah-Hartman
2021-03-09  0:07 ` Jonathan Corbet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).