summaryrefslogtreecommitdiffstats
path: root/sound/pci/au88x0/au88x0_game.c
diff options
context:
space:
mode:
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>2014-10-13 08:07:19 +0200
committerTakashi Iwai <tiwai@suse.de>2014-10-15 12:03:18 +0200
commit70c84418bf74f582e29906f1eeb19f2e9da53ddd (patch)
treee3d1048cea4059ef56a84fba7fdf7e06db50e037 /sound/pci/au88x0/au88x0_game.c
parentALSA: au88x0: added reference of vortex_t (diff)
downloadlinux-70c84418bf74f582e29906f1eeb19f2e9da53ddd.tar.xz
linux-70c84418bf74f582e29906f1eeb19f2e9da53ddd.zip
ALSA: au88x0: pr_* replaced with dev_*
pr_* macros replaced with dev_* as they are more preffered over pr_*. each file which had pr_* was reviewed manually and replaced with dev_*. here we have actually used the reference of the vortex which was added to some functions in the previous patch of this series. The prefix of the CARD_NAME and prefix of "vortex:" was also removed as the dev_* will print the device name. Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/au88x0/au88x0_game.c')
-rw-r--r--sound/pci/au88x0/au88x0_game.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/pci/au88x0/au88x0_game.c b/sound/pci/au88x0/au88x0_game.c
index 72daf6cf8169..151815b857a0 100644
--- a/sound/pci/au88x0/au88x0_game.c
+++ b/sound/pci/au88x0/au88x0_game.c
@@ -98,7 +98,8 @@ static int vortex_gameport_register(vortex_t *vortex)
vortex->gameport = gp = gameport_allocate_port();
if (!gp) {
- pr_err( "vortex: cannot allocate memory for gameport\n");
+ dev_err(vortex->card->dev,
+ "cannot allocate memory for gameport\n");
return -ENOMEM;
}