Re: [PATCH] ASoC: Move kfree(twl4030) to twl4030_soc_remove()

From: Mark Brown
Date: Fri Nov 19 2010 - 06:25:52 EST


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 <axel.lin@xxxxxxxxx>

Acked-by: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/