diff options
author | Libo Chen <clbchenlibo.chen@huawei.com> | 2013-05-20 04:30:07 +0200 |
---|---|---|
committer | Matthew Garrett <matthew.garrett@nebula.com> | 2013-07-10 21:42:40 +0200 |
commit | 4c241b364b5899e46924bfd4f9599c45f8e4a146 (patch) | |
tree | 9352efcdf1ce7c96219ff4867dab41b8318ae268 /drivers/platform/x86/asus-laptop.c | |
parent | amilo-rfkill: Add dependency on SERIO_I8042 (diff) | |
download | linux-4c241b364b5899e46924bfd4f9599c45f8e4a146.tar.xz linux-4c241b364b5899e46924bfd4f9599c45f8e4a146.zip |
x86: msi-laptop: fix memleak
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>
Diffstat (limited to 'drivers/platform/x86/asus-laptop.c')
0 files changed, 0 insertions, 0 deletions