Skip to contentSkip to conversation

ALSA: vxpocket: Fix a typo at conversion to dev_*()

PATCH New Takashi Iwai 1 participant 1 message Aug 8, 2024 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ALSA: vxpocket: Fix a typo at conversion to dev_*()

There was a typo in the previous conversion to dev_*() that caused a build error. Fix it.

Fixes 2acbb5e57230 ("ALSA: vxpocket: Use standard print API")
---
 sound/pcmcia/vx/vxpocket.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/pcmcia/vx/vxpocket.c +1 -1
index 5f72c73eac85..d2d5f64d63b4 100644
@@ -268,7 +268,7 @@ static int vxpocket_probe(struct pcmcia_device *p_dev)
 	err = snd_card_new(&p_dev->dev, index[i], id[i], THIS_MODULE,
 			   0, &card);
 	if (err < 0) {
-		dev_err(&pdev->dev, "vxpocket: cannot create a card instance\n");
+		dev_err(&p_dev->dev, "vxpocket: cannot create a card instance\n");
 		return err;
 	}
 
Signature · 1 line
2.43.0