eeepc-laptop: fix device reference count leakage in eeepc_rfkill_hotplug()
authorJiang Liu <liuj97@gmail.com>
Thu, 13 Sep 2012 16:21:59 +0000 (00:21 +0800)
committerMatthew Garrett <mjg@redhat.com>
Thu, 13 Sep 2012 20:46:31 +0000 (16:46 -0400)
commitf661848b74b33069b0b7068c414bd282c407781d
treed2bd585236e7e2ada255c5c1d99dc422d833653a
parent3f5449bf39896587ca9f87b76832c5aa30f0f5c7
eeepc-laptop: fix device reference count leakage in eeepc_rfkill_hotplug()

Fix a device reference count leakage issue in function
eeepc_rfkill_hotplug().

Signed-off-by: Jiang Liu <jiang.liu@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/eeepc-laptop.c