software node: Use kobject name when finding child nodes by name
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>
Fri, 31 May 2019 14:15:35 +0000 (17:15 +0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 3 Jun 2019 08:55:38 +0000 (10:55 +0200)
commitc959d0c231f7063b14d766cfecc1fe90c2ab5061
tree303c742ce363166618aa088d32882f071ed0bc4e
parent80488a6b1d3c3509b69d38d7c5ac7615889ea7e0
software node: Use kobject name when finding child nodes by name

Using the kobject name of the node instead of a device
property "name" in software_node_get_named_child_node().

Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Tested-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/swnode.c