From: Axel Lin Date: Wed, 29 Jun 2011 07:57:53 +0000 (+0800) Subject: firmware: gsmi: remove sysfs entries when unload the module X-Git-Tag: v3.1-rc1~235^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e4de81653bae3f5e6d06e3384853d31d564bbec;p=pandora-kernel.git firmware: gsmi: remove sysfs entries when unload the module This patch removes sysfs entries in gsmi_exit() and gsmi_init() error path. Also move the driver successfully loaded message to the end of gsmi_init() and return proper error if register_efivars() fails. Signed-off-by: Axel Lin Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed