diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2022-09-05 16:23:02 +0800 |
---|---|---|
committer | Wei Xu <xuwei5@hisilicon.com> | 2022-09-08 02:27:28 +0000 |
commit | 947f11d153f20f87828a15e829d69890db71bcf7 (patch) | |
tree | 17da10db7be434a20d555bdb072f9f0bd93dec40 /drivers/bus/moxtet.c | |
parent | 568035b01cfb107af8d2e4bd2fb9aea22cf5b868 (diff) |
bus: hisi_lpc: Don't dereference fwnode handle
Use dev_fwnode() and acpi_fwnode_handle() instead of dereferencing
an fwnode handle directly, which is a better coding practice.
While at it, reuse fwnode instead of ACPI_COMPANION().
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
Diffstat (limited to 'drivers/bus/moxtet.c')
0 files changed, 0 insertions, 0 deletions