Skip to content
Commit 48e78e8c authored by Mark Brown's avatar Mark Brown Committed by Linus Torvalds
Browse files

backlight: convert platform_lcd to devm_kzalloc()



Saves some error handling code and eliminates a class of leaks.

Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 66655760
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment