[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100419170059.GB29819@opensource.wolfsonmicro.com>
Date: Tue, 20 Apr 2010 02:01:00 +0900
From: Mark Brown <broonie@...nsource.wolfsonmicro.com>
To: Axel Lin <axel.lin@...il.com>
Cc: linux-kernel <linux-kernel@...r.kernel.org>,
Sascha Hauer <s.hauer@...gutronix.de>,
Liam Girdwood <lrg@...mlogic.co.uk>,
Samuel Ortiz <sameo@...ux.intel.com>
Subject: Re: [PATCH] mc13783-regulator: fix a memory leak in
mc13783_regulator_remove
On Mon, Apr 19, 2010 at 09:58:02AM +0800, Axel Lin wrote:
> This patch fixes a memory leak by freeing priv in mc13783_regulator_remove
Acked-by: Mark Brown <broonie@...nsource.wolfsonmicro.com>
but note that...
> + platform_set_drvdata(pdev, NULL);
> +
This is completely unrelated to what your description says (and is not
needed).
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists