Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp6554328imm; Mon, 27 Aug 2018 18:57:09 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbQOXW/fF0BOQRe7Lhw7VF3zlrfEaFi7NxDePJUqgkVAnvk+T2QwAWqJCey5UfDh3+g0VLh X-Received: by 2002:a17:902:6845:: with SMTP id f5-v6mr15588594pln.17.1535421429181; Mon, 27 Aug 2018 18:57:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535421429; cv=none; d=google.com; s=arc-20160816; b=WRo4UhMkCHHboUhfrf5/B5oIvNyM48+j4WZMkUOklmbxZzDDF8BxtBXZI4ngc9pwBQ PtyD9tDT1Y2n5X5Arz7Ee8eDNZtYpDI17qf6tEEtNeqHq1UblMvPrfUa1WGY+vt8vcOA azK8gB/zf+6Sz0vcrJ2/F3MV+q4aTtV1mTRjOrL8BrSYJ8SAWM9vKJ7qeDIQetJfVOjT O4gCY4pdwY8O8XTXU5fFwBZgE5b0IHM9IONzN7jzjAhrH8MWiEVWxepoJ92nBnQ0fYoL q10XJXMYaKABbt5lr+IKqzdztLcRsT7D5iMcs1Qc2EX57c+RzyovA4VHBffkSd2njiLm Z8jg== 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:arc-authentication-results; bh=MWzmyGPE+4quYOfdKtwyh9zUbo2pjVGzo/pqYBMkyv8=; b=kwQzaVToMHOfuB7x4J9aud5pXO4m230svghBR5LXqrfoTJBctq/lykFqfc7y7oLUtB EfuzFhbrQeI60OTmz9GAUmwMnKjNu5FMiKXAdnlxRBz8YNfgB5eJlJ+T7Hh3lWGzTLyk uPIlBkzZb/3LI/Acv6gNi8Wc1in7Mrx9kHVNXfLVJRvxEKoHTvCHZWXN2jp4qg4TvHuu 51QbjlR9jxhphrnPvhipXM6sKwhg8Ws5POqhz4+v11sjVV4dt/hduI9xyv0C76XVCru0 e6frrUCGzPRBTiyjuxsTZIITOd/nxC6FPlKxkUlvTROr+wNNrTL+jHfbYVeNxjul/cbg kDqg== ARC-Authentication-Results: i=1; mx.google.com; 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=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 t7-v6si741961plo.165.2018.08.27.18.56.54; Mon, 27 Aug 2018 18:57:09 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727753AbeH1FoF (ORCPT + 99 others); Tue, 28 Aug 2018 01:44:05 -0400 Received: from mail-oi0-f65.google.com ([209.85.218.65]:39768 "EHLO mail-oi0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727210AbeH1FoF (ORCPT ); Tue, 28 Aug 2018 01:44:05 -0400 Received: by mail-oi0-f65.google.com with SMTP id c190-v6so14425oig.6; Mon, 27 Aug 2018 18:54:50 -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=MWzmyGPE+4quYOfdKtwyh9zUbo2pjVGzo/pqYBMkyv8=; b=mQ5K+RQt4JC2IFgy9H65CbKaspyrffqN6v4Fo5Q6y1uV3agJ357CZFt5EY4AmYCnoe McimKNgOqOEotE7Bpu9P01U8m1r527hz1oBBzNioK7vj/v0x5OQH6LVMmqimgzWstj2/ S8ZhjS+/pBsLwxpYFzO0Mlc5TwlujxtMTTLlm4zEE5OClQ9HbM8OL+Mx1Uu4wLAN8sgR nORcMrT4HeoEigPzWlkagaXBkzKmemJ+PzzXx5PlnQcO2KeiC39MONL+WTebfbNcNTrX jf7y/jH/NbxDJMKu6sVHtCqxL07y5ewSP2SVc0IIQivef8cgAf4IGxgbP0gOKv2ia7Di vUww== X-Gm-Message-State: APzg51AQfBswiQBld/mI7bQTYNwsNDxMYIFx9gvOBgkdKWkhMxLZqmog PPjgakxyYRTwWsG0sAUuW6+HtZc= X-Received: by 2002:aca:5cd4:: with SMTP id q203-v6mr969037oib.217.1535421289594; Mon, 27 Aug 2018 18:54:49 -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 n71-v6sm1652696oig.48.2018.08.27.18.54.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Aug 2018 18:54:49 -0700 (PDT) From: Rob Herring To: linux-kernel@vger.kernel.org Cc: Hans de Goede , Dmitry Torokhov , Maxime Ripard , linux-input@vger.kernel.org Subject: [PATCH] input: sun4i-lradc: Convert to using %pOFn instead of device_node.name Date: Mon, 27 Aug 2018 20:52:24 -0500 Message-Id: <20180828015252.28511-23-robh@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180828015252.28511-1-robh@kernel.org> References: <20180828015252.28511-1-robh@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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: 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(-) 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