commit | 5dea7a2094d5e60fe8f8ec4277d22d7ad6fa8c26 | [log] [tgz] |
---|---|---|
author | Corentin Chary <corentincj@iksaif.net> | Sat Nov 26 10:59:59 2011 +0100 |
committer | Matthew Garrett <mjg@redhat.com> | Tue Mar 20 12:02:05 2012 -0400 |
tree | 116cff47022d348786be668d8c8c4b44c254c54a | |
parent | a6df48943a408b493d1aa141791d614a529d484e [diff] |
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>