git: c1965dff5d09 - stable/15 - snd_uaudio: Rename uaudio_hid_probe() to uaudio_hid_attach()

From: Christos Margiolis <christos_at_FreeBSD.org>
Date: Tue, 31 Mar 2026 09:54:55 UTC
The branch stable/15 has been updated by christos:

URL: https://cgit.FreeBSD.org/src/commit/?id=c1965dff5d09a3c2406cc1bdc46429dd33212963

commit c1965dff5d09a3c2406cc1bdc46429dd33212963
Author:     Christos Margiolis <christos@FreeBSD.org>
AuthorDate: 2026-03-24 10:30:51 +0000
Commit:     Christos Margiolis <christos@FreeBSD.org>
CommitDate: 2026-03-31 09:53:15 +0000

    snd_uaudio: Rename uaudio_hid_probe() to uaudio_hid_attach()
    
    This makes more sense.
    
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week
    
    (cherry picked from commit 0a7749d9436e111c882a16eed1531267943186b4)
---
 sys/dev/sound/usb/uaudio.c | 6 +++---
 1 file 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;