[PATCH] dvb: ttpci: support for new TT DVB-T-CI
[powerpc.git] / sound / ppc / toonie.c
index 0f90919..082bc4b 100644 (file)
@@ -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;
@@ -321,7 +320,7 @@ static int find_audio_gpio(const char *name, const char *platform,
        }
 
        DBG("(I) GPIO device %s found, offset: %x, active state: %d !\n",
-           device, gp->addr, gp->active_state);
+           name, gp->addr, gp->active_state);
 
        return (np->n_intrs > 0) ? np->intrs[0].line : 0;
 }