[PATCH 4/4] include/driver.h: drop unused declarations
Antony Pavlov
antonynpavlov at gmail.com
Sun Jul 20 22:00:45 PDT 2025
Signed-off-by: Antony Pavlov <antonynpavlov at gmail.com>
---
include/driver.h | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/include/driver.h b/include/driver.h
index dd50a7aa3cc..5169b959f92 100644
--- a/include/driver.h
+++ b/include/driver.h
@@ -117,13 +117,6 @@ static inline void device_rescan(struct device *dev)
#define device_for_each_child_safe(dev, tmpdev, child) \
list_for_each_entry_safe(child, tmpdev, &(dev)->children, sibling)
-/* Iterate through the devices of a given type. if last is NULL, the
- * first device of this type is returned. Put this pointer in as
- * 'last' to get the next device. This functions returns NULL if no
- * more devices are found.
- */
-struct device *get_device_by_type(ulong type, struct device *last);
-struct device *get_device_by_id(const char *id);
struct device *get_device_by_name(const char *name);
/* Find a device by name and if not found look up by device tree path
@@ -137,8 +130,6 @@ struct device *find_device(const char *str);
*/
int get_free_deviceid(const char *name_template);
-char *deviceid_from_spec_str(const char *str, char **endp);
-
static inline const char *dev_id(const struct device *dev)
{
if (!dev)
--
2.45.2
More information about the barebox
mailing list