mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 07:04:24 +00:00
driver core: Silence device links sphinx warning
Silence this warning emitted by sphinx: include/linux/device.h:938: warning: No description found for parameter 'links' While at it, fix typos in comments of device links code. Cc: Rafael J. Wysocki <rafael@kernel.org> Cc: Jonathan Corbet <corbet@lwn.net> Cc: Silvio Fricke <silvio.fricke@gmail.com> Signed-off-by: Lukas Wunner <lukas@wunner.de> Reviewed-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
88bcef508f
commit
64df114887
2 changed files with 3 additions and 2 deletions
|
@ -172,7 +172,7 @@ static int device_reorder_to_tail(struct device *dev, void *not_used)
|
||||||
*
|
*
|
||||||
* The supplier device is required to be registered when this function is called
|
* The supplier device is required to be registered when this function is called
|
||||||
* and NULL will be returned if that is not the case. The consumer device need
|
* and NULL will be returned if that is not the case. The consumer device need
|
||||||
* not be registerd, however.
|
* not be registered, however.
|
||||||
*/
|
*/
|
||||||
struct device_link *device_link_add(struct device *consumer,
|
struct device_link *device_link_add(struct device *consumer,
|
||||||
struct device *supplier, u32 flags)
|
struct device *supplier, u32 flags)
|
||||||
|
@ -225,7 +225,7 @@ struct device_link *device_link_add(struct device *consumer,
|
||||||
INIT_LIST_HEAD(&link->c_node);
|
INIT_LIST_HEAD(&link->c_node);
|
||||||
link->flags = flags;
|
link->flags = flags;
|
||||||
|
|
||||||
/* Deterine the initial link state. */
|
/* Determine the initial link state. */
|
||||||
if (flags & DL_FLAG_STATELESS) {
|
if (flags & DL_FLAG_STATELESS) {
|
||||||
link->status = DL_STATE_NONE;
|
link->status = DL_STATE_NONE;
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -817,6 +817,7 @@ struct dev_links_info {
|
||||||
* on. This shrinks the "Board Support Packages" (BSPs) and
|
* on. This shrinks the "Board Support Packages" (BSPs) and
|
||||||
* minimizes board-specific #ifdefs in drivers.
|
* minimizes board-specific #ifdefs in drivers.
|
||||||
* @driver_data: Private pointer for driver specific info.
|
* @driver_data: Private pointer for driver specific info.
|
||||||
|
* @links: Links to suppliers and consumers of this device.
|
||||||
* @power: For device power management.
|
* @power: For device power management.
|
||||||
* See Documentation/power/devices.txt for details.
|
* See Documentation/power/devices.txt for details.
|
||||||
* @pm_domain: Provide callbacks that are executed during system suspend,
|
* @pm_domain: Provide callbacks that are executed during system suspend,
|
||||||
|
|
Loading…
Reference in a new issue