x86: msi-laptop: fix memleak
authorLibo Chen <clbchenlibo.chen@huawei.com>
Mon, 20 May 2013 02:30:07 +0000 (10:30 +0800)
committerMatthew Garrett <matthew.garrett@nebula.com>
Wed, 10 Jul 2013 19:42:40 +0000 (15:42 -0400)
1. fix two visible mistakes:
    * when load_scm_model_init faild, we should call platform_device_del(msipf_device)
    * msipf_attribute_group should be remove in err case

2. change some tags, give them real meaning.

Signed-off-by: Libo Chen <libo.chen@huawei.com>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>

No differences found