Re: [PATCH] drivers/power: add missing sysfs_remove_group() inpcf50633_mbc_remove()

From: Andrew Morton
Date: Thu Sep 23 2010 - 18:02:24 EST


On Wed, 22 Sep 2010 16:16:58 +0400
Anton Vorontsov <cbouatmailru@xxxxxxxxx> wrote:

> On Tue, Sep 21, 2010 at 04:35:57PM +0800, Axel Lin wrote:
> > sysfs entries should be removed when unload the module.

I suspect this patch fixes a kernel crash, yes?

> > Signed-off-by: Axel Lin <axel.lin@xxxxxxxxx>
>
> Applied, thanks!

Please consider backporting it into earlier kernels too. Preferably done
by adding a Cc: <stable@xxxxxxxxxx> to the changelog.

--
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/