Skip to content

Commit c14112a

Browse files
shayshyikuba-moo
authored andcommitted
driver core: auxiliary bus: Fix documentation of auxiliary_device
Fix the documentation of the below field of struct auxiliary_device include/linux/auxiliary_bus.h:150: warning: Function parameter or struct member 'sysfs' not described in 'auxiliary_device' include/linux/auxiliary_bus.h:150: warning: Excess struct member 'irqs' description in 'auxiliary_device' include/linux/auxiliary_bus.h:150: warning: Excess struct member 'lock' description in 'auxiliary_device' include/linux/auxiliary_bus.h:150: warning: Excess struct member 'irq_dir_exists' description in 'auxiliary_device' Fixes: a808878 ("driver core: auxiliary bus: show auxiliary device IRQs") Reported-by: Stephen Rothwell <[email protected]> Signed-off-by: Shay Drory <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 1f038d5 commit c14112a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

include/linux/auxiliary_bus.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,10 @@
5858
* in
5959
* @name: Match name found by the auxiliary device driver,
6060
* @id: unique identitier if multiple devices of the same name are exported,
61-
* @irqs: irqs xarray contains irq indices which are used by the device,
62-
* @lock: Synchronize irq sysfs creation,
63-
* @irq_dir_exists: whether "irqs" directory exists,
61+
* @sysfs: embedded struct which hold all sysfs related fields,
62+
* @sysfs.irqs: irqs xarray contains irq indices which are used by the device,
63+
* @sysfs.lock: Synchronize irq sysfs creation,
64+
* @sysfs.irq_dir_exists: whether "irqs" directory exists,
6465
*
6566
* An auxiliary_device represents a part of its parent device's functionality.
6667
* It is given a name that, combined with the registering drivers

0 commit comments

Comments
 (0)