From: Antony Pavlov <antonynpavlov@gmail.com>
To: barebox@lists.infradead.org
Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [PATCH 4/4] include/driver.h: drop unused declarations
Date: Mon, 21 Jul 2025 08:00:45 +0300 [thread overview]
Message-ID: <20250721050045.17310-5-antonynpavlov@gmail.com> (raw)
In-Reply-To: <20250721050045.17310-1-antonynpavlov@gmail.com>
Signed-off-by: Antony Pavlov <antonynpavlov@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
prev parent reply other threads:[~2025-07-21 5:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-21 5:00 [PATCH 0/4] " Antony Pavlov
2025-07-21 5:00 ` [PATCH 1/4] include/stdio.h: drop serial_printf() declaration Antony Pavlov
2025-07-21 5:00 ` [PATCH 2/4] include/scsi.h: drop unused declarations Antony Pavlov
2025-07-21 5:00 ` [PATCH 3/4] include/of.h: drop of_parse_dtb() declaration Antony Pavlov
2025-07-21 5:00 ` Antony Pavlov [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250721050045.17310-5-antonynpavlov@gmail.com \
--to=antonynpavlov@gmail.com \
--cc=a.fatoum@pengutronix.de \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox