diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2022-08-02 22:35:03 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2022-08-08 20:29:34 +0300 |
commit | b0f2fe5a38389790a97334c5df1c5dec52c5d627 (patch) | |
tree | 0f232b788801eaac4770822fa8bbc176d21397d3 /drivers/acpi/thermal.c | |
parent | 8fa0db3a9b8ef310eb40cf91481141ece084f584 (diff) | |
download | linux-b0f2fe5a38389790a97334c5df1c5dec52c5d627.tar.xz |
ACPI: VIOT: 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() and device_match_fwnode()
APIs for that.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/thermal.c')
0 files changed, 0 insertions, 0 deletions