[media] zoran: Don't print proc_dir_entry data in debug [RFC]
authorDavid Howells <dhowells@redhat.com>
Tue, 16 Apr 2013 17:26:54 +0000 (14:26 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 16 Apr 2013 21:27:44 +0000 (18:27 -0300)
Don't print proc_dir_entry data in debug as we're soon to have no direct
access to the contents of the PDE.  Print what was put in there instead.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/pci/zoran/zoran_procfs.c

index e084b0a..1512b5d 100644 (file)
@@ -201,7 +201,7 @@ zoran_proc_init (struct zoran *zr)
                dprintk(2,
                        KERN_INFO
                        "%s: procfs entry /proc/%s allocated. data=%p\n",
-                       ZR_DEVNAME(zr), name, zr->zoran_proc->data);
+                       ZR_DEVNAME(zr), name, zr);
        } else {
                dprintk(1, KERN_ERR "%s: Unable to initialise /proc/%s\n",
                        ZR_DEVNAME(zr), name);