]> git.karo-electronics.de Git - linux-beck.git/commit
leds: Use devm_kzalloc in leds-regulator.c file
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 3 Jul 2012 11:47:54 +0000 (19:47 +0800)
committerBryan Wu <bryan.wu@canonical.com>
Mon, 23 Jul 2012 23:52:36 +0000 (07:52 +0800)
commitd41589658ed1607303e702805c51030d6ecfc471
tree67d89834ae46ad8ed786e16a2285d601b9b439f3
parent0b7da746cc5fdbdb7b52bf6faa9bb06bb0dd7869
leds: Use devm_kzalloc in leds-regulator.c file

devm_kzalloc() makes cleanup simpler.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Bryan Wu <bryan.wu@canonical.com>
drivers/leds/leds-regulator.c