]> git.karo-electronics.de Git - linux-beck.git/commit
leds: Use devm_kzalloc in leds-pwm.c file
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 3 Jul 2012 11:47:53 +0000 (19:47 +0800)
committerBryan Wu <bryan.wu@canonical.com>
Mon, 23 Jul 2012 23:52:36 +0000 (07:52 +0800)
commit0b7da746cc5fdbdb7b52bf6faa9bb06bb0dd7869
treedce7c43ea0d95fc011450fcc5081249a320ab6df
parent7fafefb86e4d48464b79c125b37b9d472ba253ab
leds: Use devm_kzalloc in leds-pwm.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-pwm.c