From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH 0/2] net: mv643xx_eth: use managed clk and allocation Date: Thu, 11 Apr 2013 16:20:07 -0400 (EDT) Message-ID: <20130411.162007.896982847089316512.davem@davemloft.net> References: <1365672574-31123-1-git-send-email-sebastian.hesselbarth@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: andrew-g2DYL2Zd6BY@public.gmane.org, jason-NLaQJdtUoK4Be96aLqz0jA@public.gmane.org, sergei.shtylyov-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org, linux-doc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, rob.herring-bsGFqQB8/DxBDgjK7y7TUQ@public.gmane.org, paulus-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org, netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linuxppc-dev-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org, florian-p3rKhJxN3npAfugRpC6u6w@public.gmane.org, buytenh-OLH4Qvv75CYX/NnBR394Jw@public.gmane.org To: sebastian.hesselbarth-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Return-path: In-Reply-To: <1365672574-31123-1-git-send-email-sebastian.hesselbarth-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Sender: "devicetree-discuss" List-Id: netdev.vger.kernel.org From: Sebastian Hesselbarth Date: Thu, 11 Apr 2013 11:29:32 +0200 > With introduction of common clock framework and the ability to provide > gated clocks, mv643xx_eth required calls to get and enable these clock > gates on some platforms. Back then, common clock framework api wasn't > safe for architectures without support for common clocks. This has > changed now and there are also managed (devm_) counterparts for clock > related functions. > > The second patch in this series, also converts kzalloc to devm_kzalloc > where applicable. > > Both patches have been sent to the corresponding mailing lists as > individual patches before. To get the order required to apply them right, > this patch set combines both patches into one set. Both applied to net-next, thanks.