[PATCH 32/44 V2] staging: unisys: Move channel creation up the stack

Greg KH gregkh at linuxfoundation.org
Sun May 24 20:31:23 UTC 2015


On Mon, May 18, 2015 at 11:23:05AM -0400, Don Zickus wrote:
> 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 at redhat.com>
> 
> ---
> V2: Fix bus/dev_create error path by adding bus/dev_info = NULL (Dan Carpenter)

This patch doesn't apply to the tree, so something went wrong.  Please
fix it up and resend from here through the rest of the series, as I had
to stop at this patch.

thanks,

greg k-h


More information about the devel mailing list