leds: convert ADP5520 LED driver to devm_kzalloc() and cleanup error exit path
authorBryan Wu <bryan.wu@canonical.com>
Wed, 4 Jul 2012 04:11:40 +0000 (12:11 +0800)
committerBryan Wu <bryan.wu@canonical.com>
Mon, 23 Jul 2012 23:52:39 +0000 (07:52 +0800)
commitbcbf01624f8e551d2c3c13a2b0c394fb270fd774
tree09694b0aa9e7bbd9636e27d72ce5cea3f8bc551c
parent73759f6ab3620d605a5ce07d5316df1abb7edf18
leds: convert ADP5520 LED driver to devm_kzalloc() and cleanup error exit path

Cc: Michael Hennerich <hennerich@blackfin.uclinux.org>
Signed-off-by: Bryan Wu <bryan.wu@canonical.com>
drivers/leds/leds-adp5520.c