Geert Uytterhoeven 459d7ed812 docs: driver-model: device: Add ATTRIBUTE_GROUPS() example
Add a paragraph about the ATTRIBUTE_GROUPS() helper macro, and use it in
the example.  Retain the old description, as it is still useful in case
of multiple groups.  Change the names of the group(s) structures, to
match the ATTRIBUTE_GROUPS() macro.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20210303133845.3939403-3-geert+renesas@glider.be
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
2021-03-08 17:06:56 -07:00
..
2021-02-16 20:36:38 -08:00
2019-07-15 11:03:03 -03:00
2020-10-16 15:02:21 -07:00
2020-12-16 14:58:35 -08:00
2019-07-26 08:15:26 -06:00
2020-12-15 10:57:29 +01:00
2020-06-02 20:32:53 -03:00
2020-12-10 22:37:32 +01:00
2019-10-07 09:47:37 -07:00