History

driver core: Clarify documentation for fwnode_operations.add_links()

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

Saravana Kannan committed 7 years ago

Commit bee3bbe1 parent c745da81 file · +8 −7Browse files

Showing the changes to include/linux (1 of 1 file). Show all

Unified · Split

include/linux/fwnode.h+8−7
@@ -94,15 +94,16 @@ struct fwnode_reference_args { · 93 unmodified lines
9494 * available suppliers.
9595 *
9696 * Return 0 if device links have been successfully created to all
97− * the suppliers this device needs to create device links to or if
98− * the supplier information is not known.
97+ * the known suppliers of this device or if the supplier
98+ * information is not known.
9999 *
100− * Return -ENODEV if and only if the suppliers needed for probing
101− * the device are not yet available to create device links to.
100+ * Return -ENODEV if the suppliers needed for probing this device
101+ * have not been registered yet (because device links can only be
102+ * created to devices registered with the driver core).
102103 *
103− * Return -EAGAIN if there are suppliers that need to be linked to
104− * that are not yet available but none of those suppliers are
105− * necessary for probing this device.
104+ * Return -EAGAIN if some of the suppliers of this device have not
105+ * been registered yet, but none of those suppliers are necessary
106+ * for probing the device.
106107 */
107108 struct fwnode_operations {
108109 struct fwnode_handle *(*get)(struct fwnode_handle *fwnode);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t