commit | 372a67c0c5ef63f55bd1eb480d9555328d8ec0f2 | [log] [tgz] |
---|---|---|
author | Saravana Kannan <saravanak@google.com> | Wed Sep 04 14:11:20 2019 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Oct 04 17:29:50 2019 +0200 |
tree | 1ff641b62d62fba319f596f65cf1c614b4e1b815 | |
parent | 54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c [diff] |
driver core: Add fwnode_to_dev() to look up device from fwnode It's often useful to look up a device that corresponds to a fwnode. So add an API to do that irrespective of the bus on which the device has been added to. Signed-off-by: Saravana Kannan <saravanak@google.com> Link: https://lore.kernel.org/r/20190904211126.47518-2-saravanak@google.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>