From: Rob Herring Date: Tue, 18 Jul 2017 21:43:11 +0000 (-0500) Subject: leds: Convert to using %pOF instead of full_name X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0571753e65b5bf7fe9a50004e9e1367cc4e51d0a;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git leds: 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. Signed-off-by: Rob Herring Cc: Richard Purdie Cc: linux-leds@vger.kernel.org Acked-by: Pavel Machek Signed-off-by: Jacek Anaszewski --- diff --git a/drivers/leds/leds-is31fl32xx.c b/drivers/leds/leds-is31fl32xx.c index 478844c5cead..31a9d749c8be 100644 --- a/drivers/leds/leds-is31fl32xx.c +++ b/drivers/leds/leds-is31fl32xx.c @@ -348,8 +348,8 @@ static int is31fl32xx_parse_child_dt(const struct device *dev, ret = of_property_read_u32(child, "reg", ®); if (ret || reg < 1 || reg > led_data->priv->cdef->channels) { dev_err(dev, - "Child node %s does not have a valid reg property\n", - child->full_name); + "Child node %pOF does not have a valid reg property\n", + child); return -EINVAL; } led_data->channel = reg;