device property: Fix recent breakage of fwnode_get_next_parent_dev()
authorDouglas Anderson <dianders@chromium.org>
Fri, 29 Apr 2022 23:43:47 +0000 (16:43 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 5 May 2022 12:19:15 +0000 (14:19 +0200)
commit117ef574074d69d87c222dbbbc744bc06cf5a833
tree59fd7f3c6488fed347dec4ef5d98e7fca60a3d2f
parent022fe6bc8f3bd0f2b1f9bc778bacc38020dfd420
device property: Fix recent breakage of fwnode_get_next_parent_dev()

Due to a subtle typo, instead of commit 87ffea09470d ("device
property: Introduce fwnode_for_each_parent_node()") being a no-op
change, it ended up causing the display on my sc7180-trogdor-lazor
device from coming up unless I added "fw_devlink=off" to my kernel
command line. Fix the typo.

Fixes: 87ffea09470d ("device property: Introduce fwnode_for_each_parent_node()")
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Saravana Kannan <saravanak@google.com>
Reviewed-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/property.c