summaryrefslogtreecommitdiffstats
path: root/sound/ppc/toonie.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/ppc/toonie.c')
-rw-r--r--sound/ppc/toonie.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/ppc/toonie.c b/sound/ppc/toonie.c
index 0f90919..86c74f4 100644
--- a/sound/ppc/toonie.c
+++ b/sound/ppc/toonie.c
@@ -279,8 +279,7 @@ static int find_audio_gpio(const char *name, const char *platform,
if (! base) {
base = (u32 *)get_property(np, "reg", NULL);
if (!base) {
- DBG("(E) cannot find address for device %s !\n", device);
- snd_printd("cannot find address for device %s\n", device);
+ DBG("(E) cannot find address for device %s !\n", name);
return -ENODEV;
}
addr = *base;
OpenPOWER on IntegriCloud