leds: Use devm_kzalloc in leds-gpio.c file
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 4 Jul 2012 03:35:44 +0000 (11:35 +0800)
committerBryan Wu <bryan.wu@canonical.com>
Mon, 23 Jul 2012 23:52:36 +0000 (07:52 +0800)
commit198b8611315f793a8f674c3ca3324028e19634aa
treefe598835899f50c859c96ef8164679ff1c36553e
parent7f13bbf799f28d5c718a2f18c42f0c6ab56f501b
leds: Use devm_kzalloc in leds-gpio.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-gpio.c