platform/x86: dell-wmi: Convert to the WMI bus infrastructure
authorAndy Lutomirski <luto@kernel.org>
Wed, 25 Nov 2015 15:53:13 +0000 (07:53 -0800)
committerDarren Hart (VMware) <dvhart@infradead.org>
Tue, 6 Jun 2017 17:19:55 +0000 (10:19 -0700)
commitbff589be59c50924a9715951160578e570cba5c6
tree8ec9557a9c7133395630b2f2960948bd5dac6fa5
parentf9dd82c0ea5588bac5f9ba284c8e609ffd9dfbe5
platform/x86: dell-wmi: Convert to the WMI bus infrastructure

Move some initialization out of _init and into _probe.
Update signatures and logic to use the wmi bus and device structures.

Signed-off-by: Andy Lutomirski <luto@kernel.org>
[dvhart: drop deprecated sparse_keymap_free, order declarations, add commit msg]
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Mario Limonciello <mario_limonciello@dell.com>
Cc: Pali Rohár <pali.rohar@gmail.com>
Cc: linux-kernel@vger.kernel.org
Cc: platform-driver-x86@vger.kernel.org
Cc: linux-acpi@vger.kernel.org
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
drivers/platform/x86/dell-wmi.c