Re: [PATCH v2 09/27] thunderbolt: Convert switch to a device

2017-05-28 Thread Mika Westerberg
On Sat, May 27, 2017 at 06:45:24PM +0300, Andy Shevchenko wrote: > On Fri, May 26, 2017 at 7:09 PM, Mika Westerberg > wrote: > > Thunderbolt domain consists of switches that are connected to each > > other, forming a bus. This will convert each switch into a real Linux > > device structure and add

Re: [PATCH v2 09/27] thunderbolt: Convert switch to a device

2017-05-27 Thread Andy Shevchenko
On Fri, May 26, 2017 at 7:09 PM, Mika Westerberg wrote: > Thunderbolt domain consists of switches that are connected to each > other, forming a bus. This will convert each switch into a real Linux > device structure and adds them to the domain. The advantage here is > that we get all the goodies f

[PATCH v2 09/27] thunderbolt: Convert switch to a device

2017-05-26 Thread Mika Westerberg
Thunderbolt domain consists of switches that are connected to each other, forming a bus. This will convert each switch into a real Linux device structure and adds them to the domain. The advantage here is that we get all the goodies from the driver core, like reference counting and sysfs hierarchy