snd_uaudio: Rename umidi_probe() to umidi_attach()

This performs an attach, not probe.

Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D55900
This commit is contained in:
Christos Margiolis
2026-03-24 11:30:42 +01:00
parent c09ccfc266
commit e67dbccc70
+3 -3
View File
@@ -556,7 +556,7 @@ static int umidi_open(struct usb_fifo *, int);
static int umidi_ioctl(struct usb_fifo *, u_long cmd, void *, int);
static void umidi_close(struct usb_fifo *, int);
static void umidi_init(device_t dev);
static int umidi_probe(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,
struct usb_attach_arg *uaa);
@@ -1101,7 +1101,7 @@ uaudio_attach(device_t dev)
}
if (sc->sc_midi_chan.valid) {
if (umidi_probe(dev)) {
if (umidi_attach(dev)) {
goto detach;
}
device_printf(dev, "MIDI sequencer.\n");
@@ -5987,7 +5987,7 @@ static struct usb_fifo_methods umidi_fifo_methods = {
};
static int
umidi_probe(device_t dev)
umidi_attach(device_t dev)
{
struct uaudio_softc *sc = device_get_softc(dev);
struct usb_attach_arg *uaa = device_get_ivars(dev);