compal-laptop: Use devm_kzalloc to allocate local data structure
authorGuenter Roeck <linux@roeck-us.net>
Sat, 23 Nov 2013 19:03:19 +0000 (11:03 -0800)
committerMatthew Garrett <matthew.garrett@nebula.com>
Tue, 21 Jan 2014 13:44:03 +0000 (08:44 -0500)
Reduce code size and simplify error path.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
drivers/platform/x86/compal-laptop.c

Simple merge