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>
This commit is contained in:
Mario Limonciello 2017-09-26 13:50:05 -05:00 • committed by Darren Hart (VMware)
commit 7b11e89896