Re: [PATCH] regulator: rk808: Fix memory leak

From: Mark Brown
Date: Thu Aug 28 2014 - 11:02:16 EST

On Thu, Aug 28, 2014 at 09:04:49PM +0800, Axel Lin wrote:
> The memory allocated in rk808_regulator_probe() needs to be freed when the
> module is unloaded. Thus pass &pdev->dev rather than &client->dev to
> devm_kzalloc.

Applied, thanks.

Attachment: signature.asc
Description: Digital signature