Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp770182imm; Wed, 29 Aug 2018 11:44:25 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaLPWTTvcL49f7Zjb97KUqhe0rkCuotIFtjplU7BTlkNBxQEWnc92fqiCQiWpP/2KD8XYGc X-Received: by 2002:a17:902:22e:: with SMTP id 43-v6mr7137266plc.118.1535568265117; Wed, 29 Aug 2018 11:44:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535568265; cv=none; d=google.com; s=arc-20160816; b=gyJKoR0xoXNcH1f7bCApHqMGiA4enSl/+m+7YJtWzxFBpISSbPodI+Co9ZAZTOqQmU 7nkV3XBKObmpMuDslGU3TlMlOK5d/E2vDFuRf2vo5L4M/oXviCR5CkRmSX0pls46LvbL L51zwlg1epTH+TxMTZH7FW+ym57jlUBx6/ReiEpbo7AbI7yYMRbkopp5raD+n9oif/LW 4frxosk2dWmjXdBQGT6nMeFqzHoHDf1r3yt91fsmO66Q+tknPusqGQFcryjHgLQP5e2I tHO1Hs2fpCZV5YsRkMmKxqRWDjqukXUn1OVD55OvJPxCpahfNOLDSpPKL2j0sA2MA4pI ac+w== 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 :arc-authentication-results; bh=tSQby1tZVbNqYR15tUdaVn6Mo6Q7T8s/NKrKDjoX8bg=; b=gpLV2c+WqQLPZj35xggfkZuuziekoZMFHXRD++xUahW4I+6/qKQq7psSPxEW1ls7z7 aaJ/VuJYJlAk/BUW6oaKiOIsXy4FdY+KQoYK7BdiCNv29gGl4BTa6BdYi+pe1leuVQCR 3vlVMLnxma41ubrTxjV+wGY9hKKjRtLF+hsHrWrE4ZQlkFkfyVE4DirN4tiCos1iRcBe 4KTpMBMayq0C4dpXKhRFA0UJHoEuskVBJsmJ1ke+Iq1+XjFKU9lQoRzR3iA9u6ItjKrL Qip4vfVIiXEECcqsdjkUg6zG7CXk2dH3s6kIuYNdJNUG/EFnkgrqY89svXQPbmO0y+MR GKzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=MKDpvJl6; 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 33-v6si4673345plu.283.2018.08.29.11.44.09; Wed, 29 Aug 2018 11:44:25 -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=MKDpvJl6; 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 S1728204AbeH2WlO (ORCPT + 99 others); Wed, 29 Aug 2018 18:41:14 -0400 Received: from mail.kernel.org ([198.145.29.99]:35388 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727817AbeH2WlO (ORCPT ); Wed, 29 Aug 2018 18:41:14 -0400 Received: from mail-qt0-f177.google.com (mail-qt0-f177.google.com [209.85.216.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 23B6220652; Wed, 29 Aug 2018 18:43:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1535568183; bh=56r5KIRezoWLE57HXbPwoX55wETt4iHkCeCnNjabyS8=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=MKDpvJl6f+Vq4y/Akywln8lCiy/unoa1HqvGD9hyiM7v6Cb9ZrLcUEWtoHxLP5Tm/ GnnEXyWuIk8cqA3Jf2hkPilJRNj0KeY1YvJKYoiXQn1BiUCQNokvrbDqvc+GxhffLT /TikkdWUpcipfTF0ijYw/BS2CDeAVYAr8VZTzkOg= Received: by mail-qt0-f177.google.com with SMTP id j7-v6so6973104qtp.2; Wed, 29 Aug 2018 11:43:03 -0700 (PDT) X-Gm-Message-State: APzg51ABtxuSYMbXo+ZGwi2TvWwSFJUFSZWIqHX69U+7OMXqNSqDog0l HlP1sDbkv0xiF/13TB5qMJAgA5AlR4P85sHrXw== X-Received: by 2002:a0c:db87:: with SMTP id m7-v6mr7853785qvk.90.1535568182327; Wed, 29 Aug 2018 11:43:02 -0700 (PDT) MIME-Version: 1.0 References: <20180828015252.28511-1-robh@kernel.org> <20180828015252.28511-21-robh@kernel.org> <3fa33583-f748-1708-2274-0a6f4e81004b@axentia.se> In-Reply-To: <3fa33583-f748-1708-2274-0a6f4e81004b@axentia.se> From: Rob Herring Date: Wed, 29 Aug 2018 13:42:50 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] i2c: Convert to using %pOFn instead of device_node.name To: Peter Rosin Cc: "linux-kernel@vger.kernel.org" , Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , Linux I2C , linuxppc-dev 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 Wed, Aug 29, 2018 at 1:03 PM Peter Rosin wrote: > > On 2018-08-28 03:52, 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: Benjamin Herrenschmidt > > Cc: Paul Mackerras > > Cc: Michael Ellerman > > Cc: Peter Rosin > > Cc: linux-i2c@vger.kernel.org > > Cc: linuxppc-dev@lists.ozlabs.org > > Signed-off-by: Rob Herring > > --- > > drivers/i2c/busses/i2c-powermac.c | 15 ++++++++------- > > drivers/i2c/muxes/i2c-mux-gpmux.c | 4 ++-- > > 2 files changed, 10 insertions(+), 9 deletions(-) > > > > diff --git a/drivers/i2c/busses/i2c-powermac.c b/drivers/i2c/busses/i2c-powermac.c > > index f2a2067525ef..b706fd136ca5 100644 > > --- a/drivers/i2c/busses/i2c-powermac.c > > +++ b/drivers/i2c/busses/i2c-powermac.c > > @@ -390,7 +390,6 @@ static int i2c_powermac_probe(struct platform_device *dev) > > struct pmac_i2c_bus *bus = dev_get_platdata(&dev->dev); > > struct device_node *parent = NULL; > > Lose the initializer... That's pretty much unrelated though. I'd have to write "Also, remove the unnecessary parent pointer init" in the commit message and we all know "Also" is a clue for belongs in a separate patch. Rob