iommu: Do not dereference fwnode in struct device
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 1 Aug 2022 16:47:58 +0000 (19:47 +0300)
committerJoerg Roedel <jroedel@suse.de>
Wed, 7 Sep 2022 08:37:28 +0000 (10:37 +0200)
commit927d8f272e4f2ff20acbf3d4c21119b0e9d17cc2
treea9150d0957f317fe8419e46a9fee1f79674ebf89
parent7e18e42e4b280c85b76967a9106a13ca61c16179
iommu: 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>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/20220801164758.20664-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/iommu.c