aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/device.h
diff options
context:
space:
mode:
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>2020-09-07 15:05:31 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-09-08 13:32:06 +0200
commitd7cf5590393132993f2e6d2618fd23a20a6342ca (patch)
treeb7f4b2afd93bb477a3b84e1e3bdf7558fb9a9895 /include/linux/device.h
parentlib: devres: delete duplicated words (diff)
downloadlinux-dev-d7cf5590393132993f2e6d2618fd23a20a6342ca.tar.xz
linux-dev-d7cf5590393132993f2e6d2618fd23a20a6342ca.zip
device property: Move fwnode_connection_find_match() under drivers/base/property.c
The function is now only a helper that searches the connection from device graph and then by checking if the supplied connection identifier matches a property that contains reference. Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Link: https://lore.kernel.org/r/20200907120532.37611-2-heikki.krogerus@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/device.h')
-rw-r--r--include/linux/device.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/linux/device.h b/include/linux/device.h
index 0b3dc72f64b2..bf480dbe3375 100644
--- a/include/linux/device.h
+++ b/include/linux/device.h
@@ -292,15 +292,6 @@ struct device_dma_parameters {
unsigned long segment_boundary_mask;
};
-typedef void *(*devcon_match_fn_t)(struct fwnode_handle *fwnode, const char *id,
- void *data);
-
-void *fwnode_connection_find_match(struct fwnode_handle *fwnode,
- const char *con_id, void *data,
- devcon_match_fn_t match);
-void *device_connection_find_match(struct device *dev, const char *con_id,
- void *data, devcon_match_fn_t match);
-
/**
* enum device_link_state - Device link states.
* @DL_STATE_NONE: The presence of the drivers is not being tracked.