Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3391675ybi; Mon, 29 Jul 2019 05:52:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqz81lImr4g3ZwhqHvDmIxn4nRZGVCeVfsKujT7Pc5JcR4JMZKfuMeYTgp60dZn7WzWdQKTG X-Received: by 2002:a63:2b84:: with SMTP id r126mr60682528pgr.308.1564404754237; Mon, 29 Jul 2019 05:52:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564404754; cv=none; d=google.com; s=arc-20160816; b=zU6Vvu3RbTRw9Hz5q2BcqilKksNu/c/kxV0xVXjcFX2R5hC//PBXojsiDA9cZaqwhn WP8Dx1JWBZviwpcipVjY8hnnPcTis7/IyvveQA8Z0VtmFBAcxpSIefzgma54ThkNkAaQ ark/3aepLzVOeZNltBcFr+xk7SqJWDuOjE+6eJz93NmZShq0ftFmNj4LJ115uvkuXSML ngaXm9NugHEPKLvXbaMFrzP6GLOAWgKmjX6Wsl7kJE/G+7RwgKn2Lr9jR0CQfT21nG5B D+QlrnMG2j15gqk0ZNHxaas1+CsW7mFLxVng4+V3ww2CWYXuxc34ljEPKG2Z4ruNjCWk ygBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=kuSNHHWQvD8DhC77ALnIwtCPqnwwzMPMAv9FFezCcFI=; b=MwMHGowjrqHgtb0DtRC7Y0zkx21j/u85m1Ji259kqyLJ22MpD6nvmXJRqsHjmNLqmb CgvvKPLBpUuPBzaUv2/pXUiZlJTSEBrxvmYbyCFQTemyEaywEEKXZMlUSwReNSteWPm+ +DsqlSFam7tPEIXW8NTc8VQJB5lDo/Rsx/lJGwr25CwCUcUDOgeAwvhD2I6CN2xje1bK lkFY2v+z1ITYnoLFz6KpOl9EzRa5JT9t5Tamom61pR5QgqqTY880/neD8YCPkew7EB28 Q/yxSauRpKX3jMnV/IQ2JANRlTJgzhhDNo0dpV+OjKf2LEaxQLkRiFU77g3iu4JhrmUd 5yWA== 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 s13si29614025pfe.140.2019.07.29.05.52.19; Mon, 29 Jul 2019 05:52:34 -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 S1727861AbfG2J0b (ORCPT + 99 others); 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!