Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1250030imm; Fri, 28 Sep 2018 14:56:07 -0700 (PDT) X-Google-Smtp-Source: ACcGV63UKFKWxozgUZHDivcdtXK/CQ5nmfABVabS94p3FO+nx1np2Y1n8uZwphbddSQuWYLEdkLs X-Received: by 2002:a63:f5a:: with SMTP id 26-v6mr491852pgp.100.1538171767884; Fri, 28 Sep 2018 14:56:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538171767; cv=none; d=google.com; s=arc-20160816; b=U4iEI6Uiaq26x1aZUmHVbxAXEdqWZEuc3jdejnJpIdWohdPDNEUyc9gJH4gYZ7QHT0 N0AOvp0A52m7gpuw5jPeRBBIhle2AY7iFpGL83XgJ5WtkBphvgUxraJui0J7w6SkpyIq qwiiSjunY3xPl3CUFExCSu3rGiXWkwP6RMArQijdo+O90B8Lp/6tMdhiJhB4mlG/wG9H 5NxuJeZH0tmZDqIyoC9expYZPVUVEF+KB2L4IPuhbSLrHzCk4qBHoC/pOCw66nikNhJ0 BH6dO5fuGAIHRrtmJmyAoq9AWdEe8WYOQmZvkZR1l3+jz7ia+UEBrdS9DAcTg2EXwEfc EuRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=qXZQvwNvN3DiFcXewHbYPq6e3ZaD6fdhzJyF2P5uNeU=; b=AiKHD4IR5sWvAFjvkh0h0Gdzv5iYruDX/a4aQZxkRwW64OoAEU85zlehIxTZFbv9mv IbTrLa3Qgl//tNbsUkhJZ2z1YQ9+phI0wPLLnb09k2hLFqzeMPmxblnXtDEdCOpOa1+t xmTtsyu9gOswVqixFdZ3w5TPtucc3Gc3HAoKc26N/UItRO/KdIizTkM0oLEYJ98M+1d2 wB+PWxUltk+/KOM10O09ovneNTFi+orHRFToqZloYQuwZDW77iHsK3iOtzETDCJKdKdH wpIbafSBdly4aOc3eiwZdyru3OStOrfc9abBF2hOMd6T+9fQPIutzCrE7FeTfRJU0gnu fMjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=TNVx8NBF; 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=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 a84-v6si5914380pfj.300.2018.09.28.14.55.53; Fri, 28 Sep 2018 14:56:07 -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=@kernel.org header.s=default header.b=TNVx8NBF; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727432AbeI2EUf (ORCPT + 99 others); Sat, 29 Sep 2018 00:20:35 -0400 Received: from mail.kernel.org ([198.145.29.99]:55844 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726332AbeI2EUf (ORCPT ); Sat, 29 Sep 2018 00:20:35 -0400 Received: from mail-qk1-f177.google.com (mail-qk1-f177.google.com [209.85.222.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B00DA20836; Fri, 28 Sep 2018 21:54:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1538171692; bh=wO/7NnPHt29CtHkNpoflZzOeviI6n11wsKWSgUyBE1w=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=TNVx8NBFFNO1IpwBDdnfHqaiLReVAnWqDi3KjTwKyCQ2nyAWdGjnYTth3Yakgso5z CaGzlARE8lnHLUBiAKTyYv7hpeLOis9BkKR7+F9S6pP3nfWPKqHOUqDoav55IUbjO+ ejOgaNv6OaCHakSa3auHPqUO/RMmQL/xzDdp0a2k= Received: by mail-qk1-f177.google.com with SMTP id a85-v6so4820793qkg.3; Fri, 28 Sep 2018 14:54:52 -0700 (PDT) X-Gm-Message-State: ABuFfohc3v10YsQH5pxPZY9ojkV9uR+WfKvQuwOftMRnbQi4Pooa1FMW LccAk/PqGZe5VMd+QpfWrTiCauLEQhPwR1qz2A== X-Received: by 2002:a37:4dc5:: with SMTP id a188-v6mr402401qkb.326.1538171691945; Fri, 28 Sep 2018 14:54:51 -0700 (PDT) MIME-Version: 1.0 References: <20180828015252.28511-1-robh@kernel.org> <20180828015252.28511-23-robh@kernel.org> In-Reply-To: <20180828015252.28511-23-robh@kernel.org> From: Rob Herring Date: Fri, 28 Sep 2018 16:54:40 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] input: sun4i-lradc: Convert to using %pOFn instead of device_node.name To: "linux-kernel@vger.kernel.org" , Dmitry Torokhov Cc: Hans de Goede , Maxime Ripard , linux-input@vger.kernel.org Content-Type: text/plain; charset="UTF-8" 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 8:54 PM 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 > --- > drivers/input/keyboard/sun4i-lradc-keys.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) Ping. > > 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 >