summaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/asus-laptop.c
diff options
context:
space:
mode:
authorLibo Chen <clbchenlibo.chen@huawei.com>2013-05-20 04:30:07 +0200
committerMatthew Garrett <matthew.garrett@nebula.com>2013-07-10 21:42:40 +0200
commit4c241b364b5899e46924bfd4f9599c45f8e4a146 (patch)
tree9352efcdf1ce7c96219ff4867dab41b8318ae268 /drivers/platform/x86/asus-laptop.c
parentamilo-rfkill: Add dependency on SERIO_I8042 (diff)
downloadlinux-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