From: Laxman Dewangan Subject: Re: [PATCH v3 3/6] gpio: max77620: Don't set of_node Date: Thu, 9 Jul 2020 20:28:53 +0530 Message-ID: <19c30bda-e1bd-7f24-dcd0-337d76abd6fc@nvidia.com> References: <20200708202355.28507-1-digetx@gmail.com> <20200708202355.28507-4-digetx@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20200708202355.28507-4-digetx-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> Sender: linux-tegra-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Dmitry Osipenko , Thierry Reding , Jonathan Hunter , Bartosz Golaszewski , Linus Walleij , Andy Shevchenko Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-gpio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-tegra@vger.kernel.org On Thursday 09 July 2020 01:53 AM, Dmitry Osipenko wrote: > External email: Use caution opening links or attachments > > > The gpiochip_add_data() takes care of setting the of_node to the parent's > device of_node, hence there is no need to do it manually in the driver's > code. This patch corrects the parent's device pointer and removes the > unnecessary setting of the of_node. > > Suggested-by: Andy Shevchenko > Signed-off-by: Dmitry Osipenko > Looks good to me. Acked-by: Laxman Dewangan