diff options
author | Ira Weiny <ira.weiny@intel.com> | 2021-12-01 20:42:59 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-12-03 16:41:50 +0100 |
commit | b247703873c4d5088eee52d7902495b24967ce8e (patch) | |
tree | 1a8c964c46eb6f38711b0b13af8d830980f820e4 /net/hsr/hsr_main.c | |
parent | f1045056c726440469d89d23c13734bcd6c0d15b (diff) | |
download | linux-b247703873c4d5088eee52d7902495b24967ce8e.tar.bz2 |
Documentation/auxiliary_bus: Clarify auxiliary_device creation
The documentation for creating an auxiliary device is a 3 step not a 2
step process. Specifically the requirements of setting the name, id,
dev.release, and dev.parent fields was not clear as a precursor to the '2
step' process documented.
Clarify by declaring this a 3 step process starting with setting the
fields of struct auxiliary_device correctly.
Also add some sample code and tie the change into the rest of the
documentation.
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Link: https://lore.kernel.org/r/20211202044305.4006853-2-ira.weiny@intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/hsr/hsr_main.c')
0 files changed, 0 insertions, 0 deletions