]> git.karo-electronics.de Git - linux-beck.git/commit
leds: Use devm_kzalloc in leds-max8997.c file
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 4 Jul 2012 03:21:36 +0000 (11:21 +0800)
committerBryan Wu <bryan.wu@canonical.com>
Mon, 23 Jul 2012 23:52:36 +0000 (07:52 +0800)
commit7f13bbf799f28d5c718a2f18c42f0c6ab56f501b
treeb34c59cc32eb3874ee5569994a3de29ec07a78cd
parentd41589658ed1607303e702805c51030d6ecfc471
leds: Use devm_kzalloc in leds-max8997.c file

devm_kzalloc() makes code cleanup simpler.

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