From patchwork Tue Jul 18 21:43:00 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring \(Arm\)" X-Patchwork-Id: 108190 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp6479646qge; Tue, 18 Jul 2017 14:44:21 -0700 (PDT) X-Received: by 10.99.175.12 with SMTP id w12mr3783600pge.250.1500414261304; Tue, 18 Jul 2017 14:44:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1500414261; cv=none; d=google.com; s=arc-20160816; b=Ub/AbrsxpIO9Bz2eje2YmhLZmmASUl23BwGhKPZbZPqlUENVIZZX0Yw1+kDXzVMtOa hdOYfvqtDin+MRmVfd5UPuDcJCDTDeqP8oPOFANBoC0rbrwXAJioNCOKsXQn/V76IUNs Hrl61RMO9taDarLOHHfYBQdKp3vxsRPEcL9EgATWzJ8B8ZTpjVtAvGE6Tq+4ekGoOksi 07niaJ5G9FKL/5TserlyxgQh6ld0jqJyIG5mqyYu+7ExUhWuVXxcNIZlPqLl2iQQknjH e5Vtiz4ZbbeisIigh+vyvnyTEElPaoWchoHhbTl6cAkrJRgYAAD+AIp/TAVyq2QHvetF OAMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=c1JX9xbfdON54rJvuq9NnGrR0APHetsMbJBqDWz/3CA=; b=iOU8eZorjYamkpB5XJT2sV2HZMmi1qopum9/Ee71jxULBhbYBiI0GTHu0f5Ka4raJk 0ZquTgWvKY8/kWqKCIQ6FvdOLRbDDLubNOrq/y2RePB3H/fZHE+amtnukqreFij9xRIQ IBc8gcWRZnjrzGiZZLTtlZ3Q5AMOK+EhlTGi/CHcw8nmJDABiXXbf7ynrYC+tGrSbe0T /Dcd3ScesL4aoaPDcNpe8Wnf5jQBE8AMZPu1pXzSlGi3va6RsV2pwTbIWF8JVV5NhwwK FtrrSe1p1IRggvHbf8hG0qu0am69wKZwIHmUx3upmqrcCrE9BepSyvB4Vw0T7MQLseHM LoLw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c62si2590980pfd.31.2017.07.18.14.44.21; Tue, 18 Jul 2017 14:44:21 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752686AbdGRVoR (ORCPT + 25 others); Tue, 18 Jul 2017 17:44:17 -0400 Received: from mail-pf0-f193.google.com ([209.85.192.193]:34899 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752544AbdGRVoO (ORCPT ); Tue, 18 Jul 2017 17:44:14 -0400 Received: by mail-pf0-f193.google.com with SMTP id q85so4058434pfq.2; Tue, 18 Jul 2017 14:44:14 -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; bh=c1JX9xbfdON54rJvuq9NnGrR0APHetsMbJBqDWz/3CA=; b=OOhbA4Iw3AN60mn4yRVR7ry7vw5CtgYTGuCopscFg4GcQA0vPVCUYcvhVDeHvC7s9b A/kM68y/ZUDaHwRcqWgw7xcT15i/jhPiBTN7YRmvO9AstaQRhyeyAPPossBMWpCVWjgJ 2WgXGsKh6QGlTF1WKvB1hKUwLhcatq9JFkcjUjt7vsBWKFsmt1PIBVz5dQMELi+pk4wq wJa2QJ4h6QS1YYUAGYkFQSVHNG8BVN99VF/TWAKOHhOyybux125HKOvSzIXjXRY1rw9v gtwMpVv1s30TRYpjT8x2lSXY8kXsSVIATGHmVVGqsebU1Bc0twRl/mSs0eTu1tAsh5Ta cQCw== X-Gm-Message-State: AIVw110ZsOLhH7b4xODMsbxqsiAy7CNzQROQwZfc91b0O8O+z2X5TAks 28MqNfrck3iHNQ== X-Received: by 10.98.77.6 with SMTP id a6mr3647145pfb.221.1500414253834; Tue, 18 Jul 2017 14:44:13 -0700 (PDT) Received: from localhost.localdomain (24-223-123-72.static.usa-companies.net. [24.223.123.72]) by smtp.googlemail.com with ESMTPSA id r207sm7186560pfr.106.2017.07.18.14.44.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Jul 2017 14:44:13 -0700 (PDT) From: Rob Herring To: Chanwoo Choi , MyungJoo Ham Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH] extcon: Convert to using %pOF instead of full_name Date: Tue, 18 Jul 2017 16:43:00 -0500 Message-Id: <20170718214339.7774-20-robh@kernel.org> X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring Cc: MyungJoo Ham Cc: Chanwoo Choi --- drivers/extcon/extcon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.11.0 diff --git a/drivers/extcon/extcon.c b/drivers/extcon/extcon.c index 8eccf7b14937..229364a9d868 100644 --- a/drivers/extcon/extcon.c +++ b/drivers/extcon/extcon.c @@ -1363,8 +1363,8 @@ struct extcon_dev *extcon_get_edev_by_phandle(struct device *dev, int index) node = of_parse_phandle(dev->of_node, "extcon", index); if (!node) { - dev_dbg(dev, "failed to get phandle in %s node\n", - dev->of_node->full_name); + dev_dbg(dev, "failed to get phandle in %pOF node\n", + dev->of_node); return ERR_PTR(-ENODEV); }