aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristos Margiolis <christos@FreeBSD.org>2026-03-24 10:30:51 +0000
committerChristos Margiolis <christos@FreeBSD.org>2026-03-24 10:38:39 +0000
commit0a7749d9436e111c882a16eed1531267943186b4 (patch)
treea4a2df37c1140e13d77d9b7cc7cb65d5f9dda83e
parente67dbccc70046a6f6d8f34c11fd01972b22920c5 (diff)
snd_uaudio: Rename uaudio_hid_probe() to uaudio_hid_attach()
This makes more sense. Sponsored by: The FreeBSD Foundation MFC after: 1 week
-rw-r--r--sys/dev/sound/usb/uaudio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/sound/usb/uaudio.c b/sys/dev/sound/usb/uaudio.c
index f0c3936a503f..12e01599b200 100644
--- a/sys/dev/sound/usb/uaudio.c
+++ b/sys/dev/sound/usb/uaudio.c
@@ -558,7 +558,7 @@ static void umidi_close(struct usb_fifo *, int);
static void umidi_init(device_t dev);
static int umidi_attach(device_t dev);
static int umidi_detach(device_t dev);
-static int uaudio_hid_probe(struct uaudio_softc *sc,
+static int uaudio_hid_attach(struct uaudio_softc *sc,
struct usb_attach_arg *uaa);
static void uaudio_hid_detach(struct uaudio_softc *sc);
@@ -1138,7 +1138,7 @@ uaudio_attach(device_t dev)
bus_attach_children(dev);
if (uaudio_handle_hid) {
- if (uaudio_hid_probe(sc, uaa) == 0) {
+ if (uaudio_hid_attach(sc, uaa) == 0) {
device_printf(dev, "HID volume keys found.\n");
} else {
device_printf(dev, "No HID volume keys found.\n");
@@ -6174,7 +6174,7 @@ tr_setup:
}
static int
-uaudio_hid_probe(struct uaudio_softc *sc,
+uaudio_hid_attach(struct uaudio_softc *sc,
struct usb_attach_arg *uaa)
{
void *d_ptr;