[alsa-devel] [PATCH v3] sound: aoa: Convert to using %pOF instead of full_name

Rob Herring robh at kernel.org
Tue Aug 29 14:35:03 CEST 2017


On Mon, Aug 7, 2017 at 6:29 PM, Rob Herring <robh at kernel.org> wrote:
> 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 at kernel.org>
> Cc: Johannes Berg <johannes at sipsolutions.net>
> Cc: Jaroslav Kysela <perex at perex.cz>
> Cc: Takashi Iwai <tiwai at suse.com>
> Cc: linuxppc-dev at lists.ozlabs.org
> Cc: alsa-devel at alsa-project.org
> ---
> v3: Split aoa to separate patch

Ping.

>
>  sound/aoa/codecs/tas.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/sound/aoa/codecs/tas.c b/sound/aoa/codecs/tas.c
> index 733b6365dad6..15c05755d270 100644
> --- a/sound/aoa/codecs/tas.c
> +++ b/sound/aoa/codecs/tas.c
> @@ -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
>


More information about the Alsa-devel mailing list