x86: asus-laptop: fix invalid point access
authorLibo Chen <clbchenlibo.chen@huawei.com>
Mon, 20 May 2013 02:30:24 +0000 (10:30 +0800)
committerMatthew Garrett <matthew.garrett@nebula.com>
Wed, 10 Jul 2013 19:42:45 +0000 (15:42 -0400)
commit38bdd729ca39e1924a31970e41b13b6ce6ec1755
treee3dc979e0c1327be3d7fcc4e8416d2a7e2fc33ac
parent4c241b364b5899e46924bfd4f9599c45f8e4a146
x86: asus-laptop: fix invalid point access

asus->name is null or point to const string,so it is not suitable to kfree it.

Signed-off-by: Libo Chen <libo.chen@huawei.com>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
drivers/platform/x86/asus-laptop.c