summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-01-09 18:58:06 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-01-10 13:48:54 +0100
commita9efdd2519edd7df84afd075b65ca6428dcb0039 (patch)
tree133d2181c5829af2d720998b4cfebf8cce6b0497 /include
parent8afbb4273977f055db219a22daaafe64be10fb95 (diff)
driver core: remove subsys_find_device_by_id()
This function has not been called by any code in the kernel tree in many many years so remove it as it is unused. Reviewed-by: Rafael J. Wysocki <rafael@kernel.org> Link: https://lore.kernel.org/r/20230109175810.2965448-2-gregkh@linuxfoundation.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/device/bus.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/device/bus.h b/include/linux/device/bus.h
index 01077c503d61..3b1a2066afcd 100644
--- a/include/linux/device/bus.h
+++ b/include/linux/device/bus.h
@@ -250,8 +250,6 @@ bus_find_device_by_acpi_dev(struct bus_type *bus, const void *adev)
}
#endif
-struct device *subsys_find_device_by_id(struct bus_type *bus, unsigned int id,
- struct device *hint);
int bus_for_each_drv(struct bus_type *bus, struct device_driver *start,
void *data, int (*fn)(struct device_driver *, void *));
void bus_sort_breadthfirst(struct bus_type *bus,