The wording was a bit ambiguous. So update it to make it clear.
Showing the changes to include/linux (1 of 1 file). Show all
Unified · Split
| @@ -94,15 +94,16 @@ struct fwnode_reference_args { · 93 unmodified lines | ||
| 94 | 94 | * available suppliers. |
| 95 | 95 | * |
| 96 | 96 | * 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. | |
| 99 | 99 | * |
| 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). | |
| 102 | 103 | * |
| 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. | |
| 106 | 107 | */ |
| 107 | 108 | struct fwnode_operations { |
| 108 | 109 | struct fwnode_handle *(*get)(struct fwnode_handle *fwnode); |