From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from vps0.lunn.ch ([185.16.172.187]:36445 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751638AbeBYTIf (ORCPT ); Sun, 25 Feb 2018 14:08:35 -0500 Date: Sun, 25 Feb 2018 20:08:30 +0100 From: Andrew Lunn To: Linus Walleij Cc: Florian Fainelli , "David S . Miller" , netdev@vger.kernel.org, Laurent Pinchart Subject: Re: [PATCH net-next 0/5] Modernize bitbanged GPIO MDIO Message-ID: <20180225190830.GA19487@lunn.ch> References: <20180225125132.25275-1-linus.walleij@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180225125132.25275-1-linus.walleij@linaro.org> Sender: netdev-owner@vger.kernel.org List-ID: On Sun, Feb 25, 2018 at 01:51:27PM +0100, Linus Walleij wrote: > This kills off the platform data support from the bitbanged > GPIO-based MDIO driver and moves it over to using GPIO > descriptors exclusively. Hi Linus I like where this ends up. I wounder about the path it takes to get there. There seems to be quite a lot of code which gets moved around and then in the end deleted. Maybe changing the order of the patches would help. Converting to devm_gpiod_get_index() first would remove all the active_low flags. Then remove all the unused reset callback, irq, etc? Thanks Andrew