]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - drivers/visorbus/visorchipset.c
staging: unisys: Move channel creation up the stack
authorDon Zickus <dzickus@redhat.com>
Mon, 1 Jun 2015 17:00:26 +0000 (13:00 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Jun 2015 05:22:49 +0000 (14:22 +0900)
commitb32c4997c03d9d1fcfc1c6771f70d7526ffdbbe4
treed7e0ece324939142df24b05fd137d0c9a00e1893
parent63d03e47730818afd09d499c3385e56cda5a513e
staging: unisys: Move channel creation up the stack

Instead of creating a channel struct to temporarily hold the channel
info and passing it through multiple functions until the device is
created, just create the channel from the start.

This allows us to remove the channel_info struct.

I noticed 'chan_info.addr_type' was not being used, so I just deleted it.

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
drivers/staging/unisys/visorbus/visorbus_private.h
drivers/staging/unisys/visorbus/visorchipset.c