Hi Rob

On 08/28/2018 03:52 AM, Rob Herring wrote:
> In preparation to remove the node name pointer from struct device_node,
> convert printf users to use the %pOFn format specifier.
> 
> Cc: Linus Walleij <[email protected]>
> Cc: Dong Aisheng <[email protected]>
> Cc: Fabio Estevam <[email protected]>
> Cc: Shawn Guo <[email protected]>
> Cc: Stefan Agner <[email protected]>
> Cc: Pengutronix Kernel Team <[email protected]>
> Cc: Sean Wang <[email protected]>
> Cc: Matthias Brugger <[email protected]>
> Cc: Carlo Caione <[email protected]>
> Cc: Kevin Hilman <[email protected]>
> Cc: Jason Cooper <[email protected]>
> Cc: Andrew Lunn <[email protected]>
> Cc: Gregory Clement <[email protected]>
> Cc: Sebastian Hesselbarth <[email protected]>
> Cc: Jean-Christophe Plagniol-Villard <[email protected]>
> Cc: Nicolas Ferre <[email protected]>
> Cc: Alexandre Belloni <[email protected]>
> Cc: Heiko Stuebner <[email protected]>
> Cc: Tony Lindgren <[email protected]>
> Cc: Haojian Zhuang <[email protected]>
> Cc: Patrice Chotard <[email protected]>
> Cc: Barry Song <[email protected]>
> Cc: Maxime Coquelin <[email protected]>
> Cc: Alexandre Torgue <[email protected]>
> Cc: Maxime Ripard <[email protected]>
> Cc: Chen-Yu Tsai <[email protected]>
> Cc: [email protected]
> Cc: [email protected]
> Cc: [email protected]
> Cc: [email protected]
> Cc: [email protected]
> Cc: [email protected]
> Signed-off-by: Rob Herring <[email protected]>
> ---
>   drivers/pinctrl/berlin/berlin.c               |  6 ++--
>   drivers/pinctrl/freescale/pinctrl-imx.c       |  7 ++--
>   drivers/pinctrl/freescale/pinctrl-imx1-core.c | 12 +++----
>   drivers/pinctrl/mediatek/pinctrl-mtk-common.c |  4 +--
>   drivers/pinctrl/meson/pinctrl-meson.c         |  2 +-
>   drivers/pinctrl/mvebu/pinctrl-mvebu.c         |  4 +--
>   drivers/pinctrl/nomadik/pinctrl-nomadik.c     |  6 ++--
>   drivers/pinctrl/pinctrl-at91.c                |  8 ++---
>   drivers/pinctrl/pinctrl-lantiq.c              |  8 ++---
>   drivers/pinctrl/pinctrl-rockchip.c            |  8 ++---
>   drivers/pinctrl/pinctrl-rza1.c                |  8 ++---
>   drivers/pinctrl/pinctrl-single.c              | 32 +++++++++----------
>   drivers/pinctrl/pinctrl-st.c                  |  6 ++--
>   drivers/pinctrl/sirf/pinctrl-atlas7.c         |  4 +--
>   drivers/pinctrl/stm32/pinctrl-stm32.c         |  4 +--
>   drivers/pinctrl/sunxi/pinctrl-sunxi.c         |  8 ++---
>   drivers/pinctrl/ti/pinctrl-ti-iodelay.c       |  8 ++---
>   17 files changed, 66 insertions(+), 69 deletions(-)
> 
> diff --git a/drivers/pinctrl/pinctrl-st.c b/drivers/pinctrl/pinctrl-st.c
> index 0966bb0bf71f..e66af93f2cbf 100644
> --- a/drivers/pinctrl/pinctrl-st.c
> +++ b/drivers/pinctrl/pinctrl-st.c
> @@ -817,8 +817,8 @@ static int st_pctl_dt_node_to_map(struct pinctrl_dev 
> *pctldev,
>   
>       grp = st_pctl_find_group_by_name(info, np->name);
>       if (!grp) {
> -             dev_err(info->dev, "unable to find group for node %s\n",
> -                     np->name);
> +             dev_err(info->dev, "unable to find group for node %pOFn\n",
> +                     np);
>               return -EINVAL;
>       }
>   
> @@ -1184,7 +1184,7 @@ static int st_pctl_dt_parse_groups(struct device_node 
> *np,
>               if (pp->length / sizeof(__be32) >= OF_GPIO_ARGS_MIN) {
>                       npins++;
>               } else {
> -                     pr_warn("Invalid st,pins in %s node\n", np->name);
> +                     pr_warn("Invalid st,pins in %pOFn node\n", np);
>                       return -EINVAL;
>               }
>       }

For pinctrl-st:

Acked-by: Patrice Chotard <[email protected]>

Thanks
Patrice

Reply via email to