From: Corentin Chary Date: Sat, 26 Nov 2011 09:59:59 +0000 (+0100) Subject: samsung-laptop: move code into init/exit functions X-Git-Tag: v3.4-rc1~63^2~65 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5dea7a2094d5e60fe8f8ec4277d22d7ad6fa8c26;p=pandora-kernel.git 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 Acked-by: Greg Kroah-Hartman Signed-off-by: Matthew Garrett --- Reading git-diff-tree failed