staging: unisys: visorbus: added struct visorchipset_device
authorSameer Wadgaonkar <sameer.wadgaonkar@unisys.com>
Tue, 21 Feb 2017 17:53:29 +0000 (12:53 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 6 Mar 2017 08:16:58 +0000 (09:16 +0100)
commit765b2f8280f57c0b138062236f7278ed050dfac7
treecbd637e942707769dc277fd03739e5cecfebaa66
parentc0487e7e83f1367a9f9c1de545d20e0b53e4190e
staging: unisys: visorbus: added struct visorchipset_device

Added the structure visorchipset_device and moved the globals to
the struct. The visorchipset_init() function saves acpi_device
within this structure.

Reported-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sameer Wadgaonkar <sameer.wadgaonkar@unisys.com>
Signed-off-by: David Kershner <david.kershner@unisys.com>
Reviewed-by: Tim Sell <timothy.sell@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorbus/visorchipset.c