]> asedeno.scripts.mit.edu Git - linux.git/commit
device connection: Add fwnode_connection_find_match()
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>
Thu, 29 Aug 2019 09:22:33 +0000 (17:22 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Sep 2019 14:04:52 +0000 (16:04 +0200)
commit44493062abc38e5895e0cf8d22698f2ca39a1e4d
tree43300e21c254fceea83b77dab52b56c8f9cc7d21
parent977607653cdd06a2c4d1d0f179ff46cc0cbe83a5
device connection: Add fwnode_connection_find_match()

The fwnode_connection_find_match() function is exactly the
same as device_connection_find_match(), except it takes
struct fwnode_handle as parameter instead of struct device.
That allows locating device connections before the device
entries have been created.

Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Link: https://lore.kernel.org/r/1567070558-29417-7-git-send-email-chunfeng.yun@mediatek.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/devcon.c
include/linux/device.h