staging: unisys: Migrate bus from devdata to visor_device
authorDon Zickus <dzickus@redhat.com>
Thu, 4 Jun 2015 13:22:37 +0000 (09:22 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Jun 2015 20:36:43 +0000 (13:36 -0700)
commit343506bf0ac102eef76129f453add81c3974ad0d
treeb07d176011dc58c73a933d6a3769eee47c77203a
parent9c708f94610b69161591f4eabc0aebcaa037f69b
staging: unisys: Migrate bus from devdata to visor_device

The bus device and regular device were using two different
structs.  Let's combine them as they are not entirely different
from one another.

This allows us to move this creation up the stack later and
actually remove bus/dev_info easily.

Most of the churn is just renaming devdata -> dev and 'struct
visorbus_devdata' to 'struct visor_device'.

Signed-off-by: Don Zickus <dzickus@redhat.com>
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorbus/visorbus_main.c