From: Andy Shevchenko Date: Mon, 4 Sep 2023 10:40:46 +0000 (+0300) Subject: device property: Clarify usage scope of some struct fwnode_handle members X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=7523d330aac7190f738998a52df8d5aa14293280;p=linux.git 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 Reviewed-by: Heikki Krogerus Reviewed-by: Sakari Ailus Link: https://lore.kernel.org/r/20230904104046.1682875-1-andriy.shevchenko@linux.intel.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/include/linux/fwnode.h b/include/linux/fwnode.h index 5700451b300fb..2a72f55d26eb8 100644 --- a/include/linux/fwnode.h +++ b/include/linux/fwnode.h @@ -41,6 +41,8 @@ struct device; struct fwnode_handle { struct fwnode_handle *secondary; const struct fwnode_operations *ops; + + /* The below is used solely by device links, don't use otherwise */ struct device *dev; struct list_head suppliers; struct list_head consumers;