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.
signature.asc
Description: Digital signature
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.
Signed-off-by: Axel Lin
---
drivers/regulator/rk808-regulator.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/driver
2 matches
Mail list logo