Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1348307imm; Fri, 28 Sep 2018 17:00:07 -0700 (PDT) X-Google-Smtp-Source: ACcGV60Hj7ziE15Rwy/7aTuprRG8/LY7QkmflkaPqm1PJVTcWNlYNHU0yZISTcYLHMW2tymEYU0/ X-Received: by 2002:a62:3995:: with SMTP id u21-v6mr862374pfj.116.1538179207033; Fri, 28 Sep 2018 17:00:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538179206; cv=none; d=google.com; s=arc-20160816; b=b1Pb960ZdJ7lZcjyqH9AE/phxr7pYHDGECyrONzzU8tghwtmrsWCMsOE2RHGnhy0vV 6yY9ELBaAwZHTGglJ8rajQ9rx7kDZEkRq53/2+d0X7VuFnAPOtzoWyMiWie8l5UQD6WN VVZsfVXaZJ1XQSUyszJStLqH/s1f95+9oPuyCTTXEloPXlh65eFkaboNvfsxXtcpahqV boX6KZDN8on8qOYvk9tIv5oYEV8PzYGE1ZXJukCJ3H8Y0ncdTqaT27ZU5g6DIAK1GbCG r9Ylas+XSSMTjf7FZh19QrM4+hEenjj3tdvw9AYN2xf4tB43JJmm15AT8fBkBGl/iZvc O6Aw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=1UVCtdWpRywT+tTV8ofT9lSBXceGn2XnP4KgMTNJK6U=; b=rCyHLz6iXmSi6nv4xXIPDnvhNuOIr9HPbqFv2BMIBPVcfPaZga3tvq9SjisxqdnH5D TffEd2eYLr6T1/lJ54Ddq4cYJ1mazMdTHSnTigeo1BpKXSIYY3HaxHH253U1kKndUj3u ELSoJds5YxIFXD6F6xOHaCo22+WqMvpmMh+lgmLAmOXXIgoG2H+ThYcNBxD/gI3sGZvM TyiiiynfrHDdSCQhvXoArBY7HkPYNqBmXUCpFbJolIQK4+NdEwCSJzrGtfh8n51+icaA CkJmv8y32pBdpu4woqGht4/Hxh1W32SuCZ1Tc7JJKr/y+ZGKC+hVWuKFcEo1pKVLFA4G 8KXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Mvx3Vlk3; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b11-v6si5657552pgt.44.2018.09.28.16.59.52; Fri, 28 Sep 2018 17:00:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Mvx3Vlk3; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727361AbeI2GZ2 (ORCPT + 99 others); Sat, 29 Sep 2018 02:25:28 -0400 Received: from mail-pg1-f194.google.com ([209.85.215.194]:36586 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726804AbeI2GZ2 (ORCPT ); Sat, 29 Sep 2018 02:25:28 -0400 Received: by mail-pg1-f194.google.com with SMTP id f18-v6so2006472pgv.3; Fri, 28 Sep 2018 16:59:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=1UVCtdWpRywT+tTV8ofT9lSBXceGn2XnP4KgMTNJK6U=; b=Mvx3Vlk33rvSTPjoL8cR1wEZc9cw22rqad3lRCO/aLiJBJQ/AK88fsvacQF9tppzOf jCwKMr7uf6UXczdwn1I4Sya99fOPb+w6RWY6j3zeppDzCRFZ5JQVf8ye9jkHF7Q/M4zM /QMc08krcsaEcCmjYyQ7sqXwsecMvC39gYhP4WdiN80NJ/1m3F3wv1fDNRZqHNaZCoTR Kx+L0vqkq/E6VqFuVW4K+uI6aNFqwSlfNnJRaBsO6Mc34ulPZS0J368uqxA6YsvFWw0X ROzgJrQHMpQn99gDaQYtoibQfikLN4CAPjoeR6VN4GwArRt8ttPbh/kKdHl+Kn3Ol7/s WOQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=1UVCtdWpRywT+tTV8ofT9lSBXceGn2XnP4KgMTNJK6U=; b=JDHw0XCy26scf0Q0IOy3RLIWWLxcBd9u0zSKuES75Ez2ADTTkZQeMzDXWvoEcZFgh1 pYBp2wuvwT0cUrYZxavFl38TnW1PLZGQe5quzpuJ5Hdvok8kiumma5ueK0r3w6AYVj8G KHzDpd+Z0a1k8xjRT/wVYOgxgxHNetOLqvxoTZlhyrAWxIJhh50ntt5L8oHzhTvXawoc aL4o9yZhpVEkRDfm9e4tq1uqAO5lpO1f0egsqR96PJf9ScmVmO72ELuWRHZNvi847lwd z9lraKj7BpQ9FoW3eRdi3TNQj4H03O7UyCsp2Eem2/WD8hvfC3BM0gkOJBBxS3P/6uDY NkJQ== X-Gm-Message-State: ABuFfoiaDYXGqEVCpdPGuvx6NuLiYHoAnyrvAMHzEY/W5i65WmJ2v5Rg Byp+wkNN+d9TVLourbt4dkAsUxHNY6I= X-Received: by 2002:a17:902:a618:: with SMTP id u24-v6mr826368plq.77.1538179159103; Fri, 28 Sep 2018 16:59:19 -0700 (PDT) Received: from dtor-ws ([2620:15c:202:201:3adc:b08c:7acc:b325]) by smtp.gmail.com with ESMTPSA id t69-v6sm10727702pgd.43.2018.09.28.16.59.17 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 28 Sep 2018 16:59:18 -0700 (PDT) Date: Fri, 28 Sep 2018 16:59:16 -0700 From: Dmitry Torokhov To: Rob Herring Cc: linux-kernel@vger.kernel.org, Hans de Goede , Maxime Ripard , linux-input@vger.kernel.org Subject: Re: [PATCH] input: sun4i-lradc: Convert to using %pOFn instead of device_node.name Message-ID: <20180928235916.GA182370@dtor-ws> References: <20180828015252.28511-1-robh@kernel.org> <20180828015252.28511-23-robh@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180828015252.28511-23-robh@kernel.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 27, 2018 at 08:52:24PM -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: Hans de Goede > Cc: Dmitry Torokhov > Cc: Maxime Ripard > Cc: linux-input@vger.kernel.org > Signed-off-by: Rob Herring Applied, thank you. > --- > drivers/input/keyboard/sun4i-lradc-keys.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/drivers/input/keyboard/sun4i-lradc-keys.c b/drivers/input/keyboard/sun4i-lradc-keys.c > index a37c172452e6..57272df34cd5 100644 > --- a/drivers/input/keyboard/sun4i-lradc-keys.c > +++ b/drivers/input/keyboard/sun4i-lradc-keys.c > @@ -185,19 +185,19 @@ static int sun4i_lradc_load_dt_keymap(struct device *dev, > > error = of_property_read_u32(pp, "channel", &channel); > if (error || channel != 0) { > - dev_err(dev, "%s: Inval channel prop\n", pp->name); > + dev_err(dev, "%pOFn: Inval channel prop\n", pp); > return -EINVAL; > } > > error = of_property_read_u32(pp, "voltage", &map->voltage); > if (error) { > - dev_err(dev, "%s: Inval voltage prop\n", pp->name); > + dev_err(dev, "%pOFn: Inval voltage prop\n", pp); > return -EINVAL; > } > > error = of_property_read_u32(pp, "linux,code", &map->keycode); > if (error) { > - dev_err(dev, "%s: Inval linux,code prop\n", pp->name); > + dev_err(dev, "%pOFn: Inval linux,code prop\n", pp); > return -EINVAL; > } > > -- > 2.17.1 > -- Dmitry