Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753575Ab0KSLZt (ORCPT ); Fri, 19 Nov 2010 06:25:49 -0500 Received: from opensource.wolfsonmicro.com ([80.75.67.52]:53872 "EHLO opensource2.wolfsonmicro.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752843Ab0KSLZs (ORCPT ); Fri, 19 Nov 2010 06:25:48 -0500 Date: Fri, 19 Nov 2010 11:25:46 +0000 From: Mark Brown To: Axel Lin Cc: linux-kernel , Liam Girdwood , Steve Sakoman Subject: Re: [PATCH] ASoC: Move kfree(twl4030) to twl4030_soc_remove() Message-ID: <20101119112546.GI7233@rakim.wolfsonmicro.main> References: <1290159068.10001.5.camel@mola> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1290159068.10001.5.camel@mola> X-Cookie: Pass with care. User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 538 Lines: 12 On Fri, Nov 19, 2010 at 05:31:08PM +0800, Axel Lin wrote: > As we allocate memory for twl4030 in twl4030_codec_probe(), > twl4030_codec_remove() is a better place to free the memory. > > Signed-off-by: Axel Lin Acked-by: Mark Brown -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/