]> git.karo-electronics.de Git - karo-tx-linux.git/commit
samsung-laptop: move code into init/exit functions
authorCorentin Chary <corentincj@iksaif.net>
Sat, 26 Nov 2011 09:59:59 +0000 (10:59 +0100)
committerMatthew Garrett <mjg@redhat.com>
Tue, 20 Mar 2012 16:02:05 +0000 (12:02 -0400)
commit5dea7a2094d5e60fe8f8ec4277d22d7ad6fa8c26
tree116cff47022d348786be668d8c8c4b44c254c54a
parenta6df48943a408b493d1aa141791d614a529d484e
samsung-laptop: move code into init/exit functions

Create _init()/_exit() function for each subsystem, remove
the local struct samsung_laptop * and only keep a
struct platform_device * that can only be used in samsung_init()
and samsung_exit().

Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/samsung-laptop.c