thunderbolt: Add tb_switch_get()
authorMika Westerberg <mika.westerberg@linux.intel.com>
Wed, 4 Oct 2017 12:19:20 +0000 (15:19 +0300)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Fri, 9 Mar 2018 09:54:10 +0000 (12:54 +0300)
commitb6b0ea70f4254139e204870937cdb24d88dfac68
treef4792fa84b8cb75c1a5d8f688a3979e7007c873e
parent432019d644878dbefd8ec2482cb01ec68b8722b9
thunderbolt: Add tb_switch_get()

Sometimes there is need for increasing reference count of a switch as
well. This also follows what we have for xdomains.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
drivers/thunderbolt/tb.h