* [PATCH] input: xilinx_ps2: Convert to using %pOFn instead of device_node.name
[not found] <20181001214351.13230-1-robh@kernel.org>
@ 2018-10-01 21:43 ` Rob Herring
2018-10-01 23:29 ` Dmitry Torokhov
0 siblings, 1 reply; 2+ messages in thread
From: Rob Herring @ 2018-10-01 21:43 UTC (permalink / raw)
To: linux-kernel; +Cc: Dmitry Torokhov, Michal Simek, linux-input, linux-arm-kernel
In preparation to remove the node name pointer from struct device_node,
convert printf users to use the %pOFn format specifier.
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Michal Simek <michal.simek@xilinx.com>
Cc: linux-input@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: Rob Herring <robh@kernel.org>
---
drivers/input/serio/xilinx_ps2.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/input/serio/xilinx_ps2.c b/drivers/input/serio/xilinx_ps2.c
index 07de1b49293c..6615c02a08fd 100644
--- a/drivers/input/serio/xilinx_ps2.c
+++ b/drivers/input/serio/xilinx_ps2.c
@@ -245,7 +245,7 @@ static int xps2_of_probe(struct platform_device *ofdev)
unsigned int irq;
int error;
- dev_info(dev, "Device Tree Probing \'%s\'\n", dev->of_node->name);
+ dev_info(dev, "Device Tree Probing \'%pOFn\'\n", dev->of_node);
/* Get iospace for the device */
error = of_address_to_resource(dev->of_node, 0, &r_mem);
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] input: xilinx_ps2: Convert to using %pOFn instead of device_node.name
2018-10-01 21:43 ` [PATCH] input: xilinx_ps2: Convert to using %pOFn instead of device_node.name Rob Herring
@ 2018-10-01 23:29 ` Dmitry Torokhov
0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Torokhov @ 2018-10-01 23:29 UTC (permalink / raw)
To: Rob Herring; +Cc: linux-kernel, Michal Simek, linux-input, linux-arm-kernel
On Mon, Oct 01, 2018 at 04:43:49PM -0500, 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: Dmitry Torokhov <dmitry.torokhov@gmail.com>
> Cc: Michal Simek <michal.simek@xilinx.com>
> Cc: linux-input@vger.kernel.org
> Cc: linux-arm-kernel@lists.infradead.org
> Signed-off-by: Rob Herring <robh@kernel.org>
Applied, thank you.
> ---
> drivers/input/serio/xilinx_ps2.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/input/serio/xilinx_ps2.c b/drivers/input/serio/xilinx_ps2.c
> index 07de1b49293c..6615c02a08fd 100644
> --- a/drivers/input/serio/xilinx_ps2.c
> +++ b/drivers/input/serio/xilinx_ps2.c
> @@ -245,7 +245,7 @@ static int xps2_of_probe(struct platform_device *ofdev)
> unsigned int irq;
> int error;
>
> - dev_info(dev, "Device Tree Probing \'%s\'\n", dev->of_node->name);
> + dev_info(dev, "Device Tree Probing \'%pOFn\'\n", dev->of_node);
>
> /* Get iospace for the device */
> error = of_address_to_resource(dev->of_node, 0, &r_mem);
> --
> 2.17.1
>
--
Dmitry
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-10-01 23:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20181001214351.13230-1-robh@kernel.org>
2018-10-01 21:43 ` [PATCH] input: xilinx_ps2: Convert to using %pOFn instead of device_node.name Rob Herring
2018-10-01 23:29 ` Dmitry Torokhov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox