commit | 1e4de81653bae3f5e6d06e3384853d31d564bbec | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@gmail.com> | Wed Jun 29 15:57:53 2011 +0800 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Fri Jul 01 15:17:16 2011 -0700 |
tree | d33b0c0f33180db07e4f452149022ba2b60efd0e | |
parent | 48d9854285635dd8b0535af7cb0d508b08db9e98 [diff] |
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 <axel.lin@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>