ALSA: aoa: Convert to using %pOF instead of full_name
authorRob Herring <robh@kernel.org>
Mon, 7 Aug 2017 23:29:19 +0000 (18:29 -0500)
committerTakashi Iwai <tiwai@suse.de>
Tue, 29 Aug 2017 12:52:17 +0000 (14:52 +0200)
Now that we have a custom printf format specifier, convert users of
full_name to use %pOF instead. This is preparation to remove storing
of the full path string for each node.

Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/aoa/codecs/tas.c

index 733b6365dad63af5cd8bf6edc43c44d850083289..15c05755d27005624f44e2dfe33734dd7b48dbb1 100644 (file)
@@ -905,8 +905,8 @@ static int tas_i2c_probe(struct i2c_client *client,
                goto fail;
        }
        printk(KERN_DEBUG
-              "snd-aoa-codec-tas: tas found, addr 0x%02x on %s\n",
-              (unsigned int)client->addr, node->full_name);
+              "snd-aoa-codec-tas: tas found, addr 0x%02x on %pOF\n",
+              (unsigned int)client->addr, node);
        return 0;
  fail:
        mutex_destroy(&tas->mtx);