diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-01-11 00:09:21 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-11 01:30:48 +0100 |
commit | 48e78e8cc87ab80617ef0c5a146701ca96a4a51d (patch) | |
tree | 607c7288eec87945a387a035b297a41650ed6b61 /drivers/leds/leds-cobalt-qube.c | |
parent | backlight: use kstrtoul() (diff) | |
download | linux-48e78e8cc87ab80617ef0c5a146701ca96a4a51d.tar.xz linux-48e78e8cc87ab80617ef0c5a146701ca96a4a51d.zip |
backlight: convert platform_lcd to devm_kzalloc()
Saves some error handling code and eliminates a class of leaks.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/leds/leds-cobalt-qube.c')
0 files changed, 0 insertions, 0 deletions