Skip to content

Commit 7523d33

Browse files
andy-shevgregkh
authored andcommitted
device property: Clarify usage scope of some struct fwnode_handle members
Most of the struct fwnode_handle members are for exclusive use with device links framework. Clarify this by adding a respective comment. Signed-off-by: Andy Shevchenko <[email protected]> Reviewed-by: Heikki Krogerus <[email protected]> Reviewed-by: Sakari Ailus <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent a083c75 commit 7523d33

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/linux/fwnode.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ struct device;
4141
struct fwnode_handle {
4242
struct fwnode_handle *secondary;
4343
const struct fwnode_operations *ops;
44+
45+
/* The below is used solely by device links, don't use otherwise */
4446
struct device *dev;
4547
struct list_head suppliers;
4648
struct list_head consumers;

0 commit comments

Comments
 (0)