leds: Convert S3C24XX LED driver to devm_kzalloc()
authorSylwester Nawrocki <sylvester.nawrocki@gmail.com>
Sat, 30 Jun 2012 12:30:25 +0000 (20:30 +0800)
committerBryan Wu <bryan.wu@canonical.com>
Mon, 23 Jul 2012 23:52:36 +0000 (07:52 +0800)
commit7e97b58133b7cddf3be80660300bb2c77c514c6f
treec27aa227a5228dac038286ff82c0f767939d0653
parent317dfb148d606a92e7d2748ab77f3d8f9749cc8a
leds: Convert S3C24XX LED driver to devm_kzalloc()

Use the device managed resource API for simplifying
the error/driver remove paths.

Cc: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Sylwester Nawrocki <sylvester.nawrocki@gmail.com>
Signed-off-by: Bryan Wu <bryan.wu@canonical.com>
drivers/leds/leds-s3c24xx.c