]> git.baikalelectronics.ru Git - kernel.git/commit
device property: Introduce fwnode_for_each_parent_node()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 8 Apr 2022 18:48:41 +0000 (21:48 +0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 13 Apr 2022 18:04:02 +0000 (20:04 +0200)
commit208692fe74157123450e1975ce1edaf6992696f1
tree0a7a4e6e181659066ce9fbea4781418a00064468
parent4da9d1af59c80cd7d8f8ffb7c1cf0af385b37855
device property: Introduce fwnode_for_each_parent_node()

In a few cases the functionality of fwnode_for_each_parent_node()
is already in use. Introduce a common helper macro for it.

It may be used by others as well in the future.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/property.c
include/linux/property.h