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

Commit cb5d9542 authored by Saravana Kannan's avatar Saravana Kannan
Browse files

UPSTREAM: driver core: Clarify documentation for fwnode_operations.add_links()



The wording was a bit ambiguous. So update it to make it clear.

Signed-off-by: default avatarSaravana Kannan <saravanak@google.com>
Reviewed-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://lore.kernel.org/r/20191113023559.62295-2-saravanak@google.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry-picked from bee3bbe616a2c8de641a64d874f9206835bd4401)
Change-Id: I55b9fe1e97324a453bda33206fe57cfaf711aba8
parent e98e1fbd
Loading
Loading
Loading
Loading
+8 −7
Original line number Diff line number Diff line
@@ -97,15 +97,16 @@ struct fwnode_reference_args {
 *		available suppliers.
 *
 *		Return 0 if device links have been successfully created to all
 *		the suppliers this device needs to create device links to or if
 *		the supplier information is not known.
 *		the known suppliers of this device or if the supplier
 *		information is not known.
 *
 *		Return -ENODEV if and only if the suppliers needed for probing
 *		the device are not yet available to create device links to.
 *		Return -ENODEV if the suppliers needed for probing this device
 *		have not been registered yet (because device links can only be
 *		created to devices registered with the driver core).
 *
 *		Return -EAGAIN if there are suppliers that need to be linked to
 *		that are not yet available but none of those suppliers are
 *		necessary for probing this device.
 *		Return -EAGAIN if some of the suppliers of this device have not
 *		been registered yet, but none of those suppliers are necessary
 *		for probing the device.
 */
struct fwnode_operations {
	struct fwnode_handle *(*get)(struct fwnode_handle *fwnode);