From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 21014C7618B for ; Mon, 29 Jul 2019 09:26:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id EB25D2073F for ; Mon, 29 Jul 2019 09:26:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727872AbfG2J0b (ORCPT ); Mon, 29 Jul 2019 05:26:31 -0400 Received: from cloudserver094114.home.pl ([79.96.170.134]:44750 "EHLO cloudserver094114.home.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726496AbfG2J0a (ORCPT ); Mon, 29 Jul 2019 05:26:30 -0400 Received: from 79.184.255.110.ipv4.supernova.orange.pl (79.184.255.110) (HELO kreacher.localnet) by serwer1319399.home.pl (79.96.170.134) with SMTP (IdeaSmtpServer 0.83.275) id c2c855163dbc4f73; Mon, 29 Jul 2019 11:26:28 +0200 From: "Rafael J. Wysocki" To: Linus Walleij Cc: Dmitry Torokhov , Greg KH , "Rafael J . Wysocki" , "Enrico Weigelt, metux IT consult" , Linux Input , "open list:GPIO SUBSYSTEM" , "linux-kernel@vger.kernel.org" , Andy Shevchenko , Heikki Krogerus Subject: Re: [PATCH 1/2] drivers: base: swnode: link devices to software nodes Date: Mon, 29 Jul 2019 11:26:28 +0200 Message-ID: <4416208.J65fGlVMeU@kreacher> In-Reply-To: References: <20190713075259.243565-1-dmitry.torokhov@gmail.com> <20190713075259.243565-2-dmitry.torokhov@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Monday, July 29, 2019 12:11:41 AM CEST Linus Walleij wrote: > On Sat, Jul 13, 2019 at 9:53 AM Dmitry Torokhov > wrote: > > > It is helpful to know what device, if any, a software node is tied to, so > > let's store a pointer to the device in software node structure. Note that > > children software nodes will inherit their parent's device pointer, so we > > do not have to traverse hierarchy to see what device the [sub]tree belongs > > to. > > > > We will be using the device pointer to locate GPIO lookup tables for > > devices with static properties. > > > > Signed-off-by: Dmitry Torokhov > > Reviewed-by: Linus Walleij > > If some device core person like Rafael and/or Greg can ACK it I can > apply this patch to the GPIO tree. I don't have any concerns regarding this, so please feel free to add Acked-by: Rafael J. Wysocki to the commit when you apply it. Thanks!