commit | 48e78e8cc87ab80617ef0c5a146701ca96a4a51d | [log] [tgz] |
---|---|---|
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | Tue Jan 10 15:09:21 2012 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Jan 10 16:30:48 2012 -0800 |
tree | 607c7288eec87945a387a035b297a41650ed6b61 | |
parent | 66655760bf38861299e3c8196f5303f886b0eef9 [diff] |
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>