OSDN Git Service

platform/x86: wmi: Destroy on cleanup rather than unregister
authorMario Limonciello <mario.limonciello@dell.com>
Tue, 26 Sep 2017 18:50:05 +0000 (13:50 -0500)
committerDarren Hart (VMware) <dvhart@infradead.org>
Wed, 27 Sep 2017 21:57:45 +0000 (14:57 -0700)
commit7b11e8989618581bc0226ad313264cdc05d48d86
tree1228bc963fd07a0f738629462bc52a0973ba64e0
parent303d1fcc0bf07129bc05a61632fad9f7064b671f
platform/x86: wmi: Destroy on cleanup rather than unregister

device_create documentation says to cleanup using device_destroy

Signed-off-by: Mario Limonciello <mario.limonciello@dell.com>
Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
drivers/platform/x86/wmi.c