]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcfb1e607eb8f6082d6fdc80079ee982c4ea970b0
tree45d67cca763cf5635ada1c5ad3d90ebe111d96d4
parent78d9f4315bd4faddef540646b1c81a012d466f97
compal-laptop: Use devm_kzalloc to allocate local data structure

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