sound: aoa: Convert to using %pOF instead of full_name
Subsystems (2)
PATCH v3 1/1 sound: aoa: Convert to using %pOF instead of full_name
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.
---
v3: Split aoa to separate patch
sound/aoa/codecs/tas.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
sound/aoa/codecs/tas.c +2 -2
@@ -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);
Signature · 1 line
2.11.0
Quoted 4 lines · Rob Herring
Now that we have a custom printf format specifier, convert users of
full_nameto use %pOF instead. This is preparation to remove storing of the full path string for each node.
Quoted 8 lines
Signed-off-by Rob Herring <[email protected]>Cc Johannes Berg <[email protected]>Cc Jaroslav Kysela <[email protected]>Cc Takashi Iwai <[email protected]>---
v3: Split aoa to separate patch
Ping.
Quoted 22 lines
sound/aoa/codecs/tas.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)sound/aoa/codecs/tas.c +2
-3@@ -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); --2.11.0
Quoted 15 lines · Rob Herring
Quoted 4 lines · Rob Herring
Now that we have a custom printf format specifier, convert users of
full_nameto use %pOF instead. This is preparation to remove storing of the full path string for each node.Quoted 8 lines
Signed-off-by Rob Herring <[email protected]>Cc Johannes Berg <[email protected]>Cc Jaroslav Kysela <[email protected]>Cc Takashi Iwai <[email protected]>---
v3: Split aoa to separate patch
Quoted 1 line
Ping.
Sorry, overlooked this one. Now applied.
Thanks!
Takashi