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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AF73AC4332F for ; Mon, 13 Dec 2021 13:51:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232624AbhLMNvL (ORCPT ); Mon, 13 Dec 2021 08:51:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58892 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238013AbhLMNvK (ORCPT ); Mon, 13 Dec 2021 08:51:10 -0500 Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81F78C061751 for ; Mon, 13 Dec 2021 05:51:09 -0800 (PST) Received: by mail-ed1-x52e.google.com with SMTP id y13so51879480edd.13 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=MoBwzbwn0IpAiNT3DBQ+XT9bO0ucADgSHEgud/S6L/VuswRi9y2XnL75bVGLhgCRKU W9rDTmyKPoaMo2Vx229YFlGwF73pKGgzZWK2+Pe7kO3TWSzmtNKJur9wJqbVxW6Gou9s O5Ax8pu5g92QwYr1JLhTsu0SoLZk+KRL5/f2uL9Aa3jJTT722++WazMyPVRGWnbU0gm8 bnFLgr/QPn+y7AAXGE/00XSXUNbJazBsBUkBmqYrAo1jVBsibsZ1aIQ/ff76Gq8nVgEm /EUpMzIYCrCqH8VtjhkQzvBv4aY53kGuQsUkIqpUr3437rH8GY8KbmHvm6kpKeKLpoiw U1MQ== X-Gm-Message-State: AOAM5321BM1XrSWxpMoyoN4sUg7cEn5mIGUMr1u/bG4wKGfbcRcA14PY CrKDEsQd/le0bk3qOcJn74VMJW0x6TQZc9FVvOOGHw== 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 Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.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 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 3E377C433EF for ; Mon, 13 Dec 2021 13:52:04 +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=BuPVuVKNMLA1LDntmoFdHvY0nnSeu//JY8FwaqFBFBs=; b=oqWf/JzskwKW4R kiuYdgrucfeuE+RHqToMoHlwerSToCUs36I9khWQAPRylZ36AfVexmGcp2+E1oz08wp/+nOJ5CQBV IiBjWj6A18e7MMZ7naqZGhWyCJ3FuhRKdOkCP+BXKwc5pt9aAQRYjEHEPIa6Os9jresYW4Kb7FTkA DOB3sQ8yh1gxK6xhIqbVwkiLJ5F8+/L2z7hv3r83EfQKT8w+TDSVFtiw/KQGpQ64IKMSjGTKPdf5W /yF9J8BZb3kCG/v94UAuFb41CKrPQkG/z10qVgg3WuDi1wOjB4mJsZ9SZtbiaf0L11LJE0jApgd3E AZyMA8OC3E8RMqbdB3dQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mwlkC-009oEN-0f; Mon, 13 Dec 2021 13:51:56 +0000 Received: from mail-ed1-x52d.google.com ([2a00:1450:4864:20::52d]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mwljS-009nqe-RT for linux-rockchip@lists.infradead.org; Mon, 13 Dec 2021 13:51:15 +0000 Received: by mail-ed1-x52d.google.com with SMTP id t5so51986796edd.0 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=vcte7tyeY+YKBJMJ6O2Ta54x3H1divA6GDxCCE6FXHHcDIYw/Kfi6PZ9WtiXPErHM8 obeyOtHUwCmevk/dtaxqafm7AgEh8cAjikXaR35LgplWXOmz0CVsJ6OF2eyxFVvXZxal PyCRCuNi49HynUCESinIBWRCe8R4UuD7aaI0xL5VzCk3TmYe2w7Y8DPufN+uFqb1iN3M 15pwHTOQxt4UUhjMI8YAsMuCqp2jYVEyYK2ptOPk6uYf3KqoMUSmb3STug3d1vhcWFfq FA3Orx/KnotchIMWht+KWyYxy2NIsD6w/gWHYBQiiGKK5xLtdDz6FSbgbfdjENuSJOLn uIOg== X-Gm-Message-State: AOAM532l9gbtwC07Z9tLxqjUy81cTJj1t1RL+6XAK1bWjmdvClpwexBz oR7yXetsTSKx848ZnFWHx/Khc+TUaJhbhgVRetP00Q== 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_932432_5D37E9EF X-CRM114-Status: GOOD ( 11.69 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=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-rockchip mailing list Linux-rockchip@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-rockchip 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 8697AC433EF for ; Mon, 13 Dec 2021 13:52:01 +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=3xsPNQe5mjlwLnpvGJXXhuYnEU/i143azYMTHQ518Jc=; b=MpbrHqrcqNbUTj PQj9b/3+udl1esmgbr5qf3tJbQVRDXgkCAG005R5Ap/zn43YzprWliTFElc+ueJyVYs7vkOBbLepE lbLXpEXyp74tiksFlNEIdMrDHHuHhnf4+jjCFD1tsAfsz48bTFNnexxNF2oMdvV4ENcWhnF47CiCf N5c7084Npr4AheBokhjLWxDA9F0TYckD4JE16BvRxuV0r1b5IJaByyIVk5FNEsSsIW2f+Y4NsmkhQ TCx0lBINvbXxcq33f0hw+TrxBwtjv+O1/rhdKjtoChbDo/Jt0pVW729Jyjl8f5jDNrkpw4kPlwePc TJO2bpDSgXHEeOei8d2Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mwlk7-009oCY-04; Mon, 13 Dec 2021 13:51:51 +0000 Received: from mail-ed1-x52d.google.com ([2a00:1450:4864:20::52d]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mwljS-009nqt-QZ for linux-mediatek@lists.infradead.org; Mon, 13 Dec 2021 13:51:14 +0000 Received: by mail-ed1-x52d.google.com with SMTP id l25so52689174eda.11 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=G6YiJ0YGfWSaVdqTlxIBYECYWot1ZQp2iMQH0IFGwYNRr5Kfkpi6A0m7hYOaxXL26u yEheZstq7B3rCk+4nLkhjrZiNvFwX5ZM8TuOD6rxB70bDjpg7VwxeL2Tt9sUZaMF7mFc enEsTwmi/l+zOZShkpwXG1DslEv++QZWrAJI6dEHOiylxWQf8xx75pI0JiiHrP/XnGRr XEb4ayrZlUCNW8wnJGrZoSC49sI0Ae+t2uFWyMBJZmQKPRsVSYkZRHF89UXilHpntw3i /ngD6SPqlHI21PbpUo2nNqv8ryMicSITCzQkLcCuarQ5sLos6+1mXsePYcZ/qz5pD3BJ 8I5A== X-Gm-Message-State: AOAM530RaiWQrMR1J+PyL5RF4vZWWlTlvzLaKo6/cxaXJ96BSPW8JXEH GT1c30GqmN9Z93dRVMyMz3PmPoK7t53IEzIrKDHvHQ== 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_895519_AC794EF6 X-CRM114-Status: GOOD ( 11.69 ) X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=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-mediatek mailing list Linux-mediatek@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-mediatek 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