Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

pinctrl: mediatek: Convert to using %pOFn instead of device_node.name

In preparation to remove the node name pointer from struct device_node,
convert printf users to use the %pOFn format specifier.

Cc: Matthias Brugger <matthias.bgg@gmail.com>
Cc: linux-mediatek@lists.infradead.org
Cc: linux-gpio@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: Rob Herring <robh@kernel.org>
Acked-by: Sean Wang <sean.wang@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

authored by

Rob Herring and committed by
Linus Walleij
9ede2a76 977d057a

+2 -2
+2 -2
drivers/pinctrl/mediatek/pinctrl-paris.c
··· 419 419 420 420 pins = of_find_property(node, "pinmux", NULL); 421 421 if (!pins) { 422 - dev_err(hw->dev, "missing pins property in node %s .\n", 423 - node->name); 422 + dev_err(hw->dev, "missing pins property in node %pOFn .\n", 423 + node); 424 424 return -EINVAL; 425 425 } 426 426