summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 0f909193b4f..86c74f40cff 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;