Re: [PATCH] mfd: ab8500-core: Fix invalid free of devm_ allocated data

From: Linus Walleij
Date: Wed Nov 28 2012 - 10:48:04 EST


On Fri, Nov 23, 2012 at 1:18 PM, Tushar Behera <tushar.behera@xxxxxxxxxx> wrote:

> The objects allocated by devm_* APIs are managed by devres and are
> freed when the device is detached. Hence there is no need to remove
> them explicitly in remove function.
>
> Signed-off-by: Tushar Behera <tushar.behera@xxxxxxxxxx>

Looks good to me.
Acked-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij
--
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/