From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Lunn Subject: Re: [PATCH v2 6/7] net: phy: Add support to configure clock in Broadcom iProc mdio mux Date: Mon, 30 Jul 2018 20:04:04 +0200 Message-ID: <20180730180404.GH2983@lunn.ch> References: <1532726613-6483-1-git-send-email-arun.parameswaran@broadcom.com> <1532726613-6483-7-git-send-email-arun.parameswaran@broadcom.com> <20180728212224.GF4792@lunn.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "David S. Miller" , Florian Fainelli , Rob Herring , Mark Rutland , Ray Jui , Scott Branden , Catalin Marinas , Will Deacon , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com To: Arun Parameswaran Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org > > Hi Arun > > > > There is a devm_mdiobus_alloc() which could make the cleanup on error > > simple. > > > Should I do this as a separate patch ? A separate patch is easier to review. And if something breaks, a git bisect gives you a better idea what actually broke it, if you have lots of small patches. Andrew