]> asedeno.scripts.mit.edu Git - linux.git/commit
thunderbolt: Factor common ICM add and update operations out
authorMika Westerberg <mika.westerberg@linux.intel.com>
Wed, 4 Oct 2017 11:42:20 +0000 (14:42 +0300)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Fri, 9 Mar 2018 09:54:10 +0000 (12:54 +0300)
commitee487dd2447a43dd318bd7ba2c54e59e707ad851
treed33ab610365eb11f75498a4ba6e7665646f85633
parentcb653eecde3dc37c67d3e7297ac5445d16f7be13
thunderbolt: Factor common ICM add and update operations out

The newer ICM will not use link and depth to address devices. Instead it
uses route strings. In order to take advantage of the existing code
factor out common operations so that we can use the same functions with
the new ICM as well.

No functional changes intended.

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