]> git.baikalelectronics.ru Git - kernel.git/commit
thunderbolt: Do not dereference fwnode in struct device
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 7 Dec 2021 15:41:43 +0000 (17:41 +0200)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Wed, 8 Dec 2021 10:22:05 +0000 (13:22 +0300)
commitaa9b405ec226fe33c39a74610125c787e7f710d1
treea3fc696a944b8d92752497f402e95f3b3fc924f4
parent2d268719222cd8376f926feeef2dbfbbe19c626c
thunderbolt: Do not dereference fwnode in struct device

In order to make the underneath API easier to change in the future,
prevent users from dereferencing fwnode from struct device.
Instead, use the specific dev_fwnode() API for that.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/thunderbolt/acpi.c