From patchwork Mon Oct 1 21:43:49 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring \(Arm\)" X-Patchwork-Id: 147940 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp4403540lji; Mon, 1 Oct 2018 14:43:55 -0700 (PDT) X-Google-Smtp-Source: ACcGV60Ord7gnyqV9WmzTmQrj+YJ59j/OCbfbkJsMMHwJwom6TDeVM/q2tyjifzxXRQ6zgffBVfO X-Received: by 2002:a62:fcd8:: with SMTP id e207-v6mr13145944pfh.132.1538430235493; Mon, 01 Oct 2018 14:43:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538430235; cv=none; d=google.com; s=arc-20160816; b=P0LREimhd3E9sDmopJom/B3cz2BbR6tQ0m7VMLvQyXmTJDwqPHyQruFrHlIkIY4NJq Z1C26bOabfa9YN83BCyKNX2zsRtGG0ywBKqnt6WJ7M+O96qx6R0ivtj32EwfnvEMK2p7 N3nBtVEfiCWQg4HU/D2SBrNJC6N/+EMWoc7kJqEimUjcZm8NDCqQ1GaH6UUHM6YXAyH4 d2kNraygctaf5nxHsMg0Mh9KFPp0PmcV120c+U9sk80i3Z2oKujx8YpFWocRDT5sHg5v 7hdPQxTodW5smIhuBwsp5aUhtvv7uQR+sZThhgk5tZk5Xtf9dammiZiquo6sldhHgNg4 IwnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=9/Q/4kaUvCR+p+k3AL0l0zXV0mtyPAnoA90nV3ubCFc=; b=EKkP8GeivBPsoOZOqij4yFNJ3xmtDOVCARuFv6ZMWAh21KKOyBJ49Ybx+IBRxjjYio j/8dvGLzbVh6pFqZbhLxtEqSw99jTZu/cm53sqTno06NfK9ksaTjaXIDA1/Ozx5DUbT1 0ler6UU/qELQkq/wNarFmhcpTg7x5HszeYWJsetAtm/ccI8HqXBV2Y7r73jjhu31iCzc nDfr+zwyE0JodU0fKkufeyim8yjXfFO/1p9ITQNp8lfP7rMy4loNDzpueFE8pW3pfccu jzAEtEOCv1lMxp19U5qZUi3IBFXQNCd5uEHTesANtF0U93XBCxFEk0uUv6QMLxj3qRAJ LyXA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-input-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-input-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i17-v6si7726780pfk.65.2018.10.01.14.43.55 for ; Mon, 01 Oct 2018 14:43:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-input-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-input-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-input-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726304AbeJBEXo (ORCPT ); Tue, 2 Oct 2018 00:23:44 -0400 Received: from mail-oi1-f195.google.com ([209.85.167.195]:35270 "EHLO mail-oi1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726239AbeJBEXo (ORCPT ); Tue, 2 Oct 2018 00:23:44 -0400 Received: by mail-oi1-f195.google.com with SMTP id m11-v6so12560064oic.2; Mon, 01 Oct 2018 14:43:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=9/Q/4kaUvCR+p+k3AL0l0zXV0mtyPAnoA90nV3ubCFc=; b=Vg9nr146BnYPJtNBodXctaAcBmS3krSWkiLJPcZz23+4RYKYwQ5o00qSRxqNvvNhcz jrjNw/1r7Bkjzm5sYmCfHojehjDOs9ZmQWmrE26rYOcWIhTlVh9ok60JEqfnMxZNyid6 mGt1w6Avb/Mz0k1Bn7WhXaadFfAoTV2vQ6VgMGCe1k3tMS53F6ztjX+DX4+OJ21gSHku lJzecfDzas3ABQWSCWQ3A+KWrcqqWAUXM+4XP+rMDvKPGPvt37BCc+c9YD3W5crzuPH+ PQ/fx4o+GCDC8bg0MpCYU/HKV9kWeiF1pxwfpe08CqMNxrOa/VbRD0oQkfDVMqKuUB+/ HmwQ== X-Gm-Message-State: ABuFfoippyIEd5Bs03YOvfE0laD+89WVJ385TbTz8uW1ctd9ypRGH9an MeW3DebiMhfaRG7/G+KTLAinS8uTQA== X-Received: by 2002:aca:d489:: with SMTP id l131-v6mr5694475oig.15.1538430233643; Mon, 01 Oct 2018 14:43:53 -0700 (PDT) Received: from xps15.herring.priv (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.googlemail.com with ESMTPSA id h22-v6sm6401661otd.21.2018.10.01.14.43.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 01 Oct 2018 14:43:53 -0700 (PDT) From: Rob Herring To: linux-kernel@vger.kernel.org Cc: Dmitry Torokhov , Michal Simek , linux-input@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH] input: xilinx_ps2: Convert to using %pOFn instead of device_node.name Date: Mon, 1 Oct 2018 16:43:49 -0500 Message-Id: <20181001214351.13230-2-robh@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181001214351.13230-1-robh@kernel.org> References: <20181001214351.13230-1-robh@kernel.org> Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org In preparation to remove the node name pointer from struct device_node, convert printf users to use the %pOFn format specifier. Cc: Dmitry Torokhov Cc: Michal Simek Cc: linux-input@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Rob Herring --- drivers/input/serio/xilinx_ps2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1 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);