Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4f4ffe52 authored by Randy Dunlap's avatar Randy Dunlap Committed by Greg Kroah-Hartman
Browse files

kernel-doc: fix new warnings in driver-core



Fix new kernel-doc warnings:

Warning(drivers/base/bus.c:925): No description found for parameter 'key'
Warning(drivers/base/bus.c:1241): No description found for parameter 'subsys'
Warning(drivers/base/bus.c:1241): No description found for parameter 'groups'

Signed-off-by: default avatarRandy Dunlap <rdunlap@xenotime.net>
Cc: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 0863b04d
Loading
Loading
Loading
Loading
+5 −4
Original line number Original line Diff line number Diff line
@@ -915,9 +915,10 @@ static BUS_ATTR(uevent, S_IWUSR, NULL, bus_uevent_store);


/**
/**
 * __bus_register - register a driver-core subsystem
 * __bus_register - register a driver-core subsystem
 * @bus: bus.
 * @bus: bus to register
 * @key: lockdep class key
 *
 *
 * Once we have that, we registered the bus with the kobject
 * Once we have that, we register the bus with the kobject
 * infrastructure, then register the children subsystems it has:
 * infrastructure, then register the children subsystems it has:
 * the devices and drivers that belong to the subsystem.
 * the devices and drivers that belong to the subsystem.
 */
 */
@@ -1220,8 +1221,8 @@ static void system_root_device_release(struct device *dev)
}
}
/**
/**
 * subsys_system_register - register a subsystem at /sys/devices/system/
 * subsys_system_register - register a subsystem at /sys/devices/system/
 * @subsys - system subsystem
 * @subsys: system subsystem
 * @groups - default attributes for the root device
 * @groups: default attributes for the root device
 *
 *
 * All 'system' subsystems have a /sys/devices/system/<name> root device
 * All 'system' subsystems have a /sys/devices/system/<name> root device
 * with the name of the subsystem. The root device can carry subsystem-
 * with the name of the subsystem. The root device can carry subsystem-