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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 16084C433EF for ; Mon, 13 Dec 2021 13:54:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=rONwLybZ6YrfQXtPE6Sfxn+CuD8q2Kc9HW8aB5k2ar4=; b=OBRLKdpPSW9jMm zxbChgRGJMeKy7P4lNlAfX+MxEhYQD2sGUPgajoi4wwgZ1vmX9rqVLyL66cnoUMfR8O8DW7/tZGQ1 ELztthHgkAL5rHUpT2woY12P36BYYUk+jijScmvGiPiOD2fCXBb6glTc2X3nrLJctpo91ZQvTI3ZW PiDXsdFIYyRvtSvvGh1WTOdro3/xruhXAimkrv7iFGgP1VYf9oBZ4eFeauh4QOCciogCFUuXD+jz0 BrQWz3kZPt1duy2orRBv4SiK1bFWCcZVPJk4BoiekvjnxXQkc5iQyJztIh9jRUpvKlGXISKFATNvh yuF9ZjTEXyLP/3vrd81A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mwlkG-009oEz-A7; Mon, 13 Dec 2021 13:52:01 +0000 Received: from mail-ed1-x52e.google.com ([2a00:1450:4864:20::52e]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mwljS-009nqh-Sy for linux-arm-kernel@lists.infradead.org; Mon, 13 Dec 2021 13:51:16 +0000 Received: by mail-ed1-x52e.google.com with SMTP id r11so51692091edd.9 for ; Mon, 13 Dec 2021 05:51:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=JA6W9bf1908WD6cfFb6AhPYhGreRD1L3ZPU1ovM0YAo=; b=JR+DaCc5q3x/nJ52dLl6r+4FwSEv9WD0p7h6CAvJzuCN4LA6+wkAYifxMiKmhtGPMC FTN/0x8gYKn6C0DH+DPrgH6lH2w+WJEIfGDy1/YzVD0zU202RDccLQt46z8yx/mv5SEQ orFijgywNSCXDOJ/OPyq3mvh5NlrdflBnU+13ax6fE2dt0FQGfzQsQKPQMlWf12X6gYS H/d+nrvTinlxhp9IzxuZ3LhRXaM+23FWY9lMgayxh0hvEqluoQhfJStRiFE2+rfIOnQF Iw8LA3Ko152lC8tyud5LtFSKXRrJ7LmTPR7MzT1Pb8/drF5Zj0ygRhSQOmk3y0qr4lHt 19ug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=JA6W9bf1908WD6cfFb6AhPYhGreRD1L3ZPU1ovM0YAo=; b=T+/dmW9DLZXAkHiy4bdmBXm6Hr4Duiy8ljMjTvNb4y7JSnRZXeNcomuyU6TlgDaWuA wVfWVtKmrXcthNQkYr3FCnMeZL+NN5Vve40B662n7ROwsaYO0P3UPXro5TvOqGHW0oVE sNm2fGA7kgc58Xtsu6Gd/uWGHIvDYqmBPcEzNhsn2jdcVn4l5ejVjHjo/SSiKFB6+nc5 6MCd8Un50+lLYMDQKZEIYcOeTYa0X6cd+8f0SuUnIQJC6/2NELJPPy7euLyZWy6LPknD Z3s2pNekbKH6OTgDK0aIbgZ8XLPTnbF8pXFJoNOMx7PSl0vf2RduwpoArv8M95mjHEZJ xr0A== X-Gm-Message-State: AOAM5316ytKVhh2MekPx/jC3ei+X0HoSzE4T3kblJQQE9KSVCsArEW/3 dxJ2E/aQTBtuIe2+MOKrngcrwXMOF1we5+o7cWAmSw== X-Google-Smtp-Source: ABdhPJyUfRonKaOMYp5CA3+4Qguk6GD9f9+ENkQJ7XEThNqMIaIY/ZVhde1IxmgVdguaMtUOm8hj/b6kBh4NcjdyhEI= X-Received: by 2002:a05:6402:354e:: with SMTP id f14mr63951085edd.245.1639403467922; Mon, 13 Dec 2021 05:51:07 -0800 (PST) MIME-Version: 1.0 References: <20211202210839.79140-1-andriy.shevchenko@linux.intel.com> In-Reply-To: <20211202210839.79140-1-andriy.shevchenko@linux.intel.com> From: Bartosz Golaszewski Date: Mon, 13 Dec 2021 14:50:57 +0100 Message-ID: Subject: Re: [PATCH v1 1/3] gpio: Get rid of duplicate of_node assignment in the drivers To: Andy Shevchenko Cc: Marc Zyngier , Matti Vaittinen , Sergio Paracuellos , Chunyan Zhang , Baruch Siach , =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= , Tony Lindgren , Nicolas Saenz Julienne , Linus Walleij , Jianqun Xu , Alexandru Ardelean , Thierry Reding , "open list:GPIO SUBSYSTEM" , Linux Kernel Mailing List , patches@opensource.cirrus.com, bcm-kernel-feedback-list , linux-power , Linux ARM , "moderated list:ARM/Mediatek SoC..." , "open list:PWM SUBSYSTEM" , Linux-OMAP , linux-unisoc@lists.infradead.org, "open list:ARM/Rockchip SoC..." , linux-stm32@st-md-mailman.stormreply.com, linux-tegra@vger.kernel.org, Ray Jui , Florian Fainelli , Scott Branden , Gregory Fong , Eugeniy Paltsev , Keerthy , Orson Zhai , Baolin Wang , Chunyan Zhang , Vladimir Zapolskiy , Matthias Brugger , Thierry Reding , Lee Jones , Grygorii Strashko , Santosh Shilimkar , Kevin Hilman , Robert Jarzmik , Manivannan Sadhasivam , Heiko Stuebner , Ludovic Desroches , Maxime Coquelin , Alexandre Torgue , Jonathan Hunter X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211213_055110_977413_F5F1DE35 X-CRM114-Status: GOOD ( 13.08 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Dec 2, 2021 at 10:17 PM Andy Shevchenko wrote: > > GPIO library does copy the of_node from the parent device of > the GPIO chip, there is no need to repeat this in the individual > drivers. Remove these assignment all at once. > > For the details one may look into the of_gpio_dev_init() implementation. > > Signed-off-by: Andy Shevchenko > --- If there are no objections, I am willing to apply this to give it some time in next and get the work on dropping the OF APIs from gpiolib going. Bart _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel