commit | 0d82017b70517b9b209ce7181d798a050ce23234 | [log] [tgz] |
---|---|---|
author | Sakari Ailus <sakari.ailus@linux.intel.com> | Wed Dec 01 14:59:34 2021 +0200 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Fri Dec 17 18:41:29 2021 +0100 |
tree | 019471166ba6dba5076e7c3782d66b2746ee1e25 | |
parent | c87b8fc569667610b4891cad1e4a663e5a94d8f8 [diff] |
device property: Use fwnode_graph_for_each_endpoint() macro Now that we have fwnode_graph_for_each_endpoint() macro, use it instead of calling fwnode_graph_get_next_endpoint() directly. It manages the iterator variable for the user without manual intervention. Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>