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
94 * available suppliers.94 * available suppliers.
95 *95 *
96 * Return 0 if device links have been successfully created to all96 * Return 0 if device links have been successfully created to all
97 * the suppliers this device needs to create device links to or if97 * the known suppliers of this device or if the supplier
98 * the supplier information is not known.98 * information is not known.
99 *99 *
100 * Return -ENODEV if and only if the suppliers needed for probing100 * Return -ENODEV if the suppliers needed for probing this device
101 * the device are not yet available to create device links to.101 * have not been registered yet (because device links can only be
102 * created to devices registered with the driver core).
102 *103 *
103 * Return -EAGAIN if there are suppliers that need to be linked to104 * Return -EAGAIN if some of the suppliers of this device have not
104 * that are not yet available but none of those suppliers are105 * been registered yet, but none of those suppliers are necessary
105 * necessary for probing this device.106 * for probing the device.
106 */107 */
107struct fwnode_operations {108struct fwnode_operations {
108 struct fwnode_handle *(*get)(struct fwnode_handle *fwnode);109 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