regulator: max8660: Fix a memory leak due to missing devm_kzalloc conversion
authorAxel Lin <axel.lin@gmail.com>
Tue, 17 Apr 2012 10:06:50 +0000 (18:06 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 17 Apr 2012 13:44:32 +0000 (14:44 +0100)
commit575f690dc4973027ce7e93360678681d09f65fac
tree0b1552f07183a255d6ea434804f860e823bebefe
parent98d8618af37728f6e18e84110ddb99987b47dd12
regulator: max8660: Fix a memory leak due to missing devm_kzalloc conversion

commit 4d26f7 "regulator: max8660: Use devm_kzalloc()" missed to
replace kzalloc by devm_kzalloc. Fix it.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/max8660.c