diff options
| author | 2022-09-05 16:23:02 +0800 | |
|---|---|---|
| committer | 2022-09-08 02:27:28 +0000 | |
| commit | 947f11d153f20f87828a15e829d69890db71bcf7 (patch) | |
| tree | 17da10db7be434a20d555bdb072f9f0bd93dec40 /tools/scripts/ssh:/git@git.zx2c4.com/git:/git.zx2c4.com | |
| parent | Linux 6.0-rc1 (diff) | |
| download | linux-dev-947f11d153f20f87828a15e829d69890db71bcf7.tar.xz linux-dev-947f11d153f20f87828a15e829d69890db71bcf7.zip | |
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 'tools/scripts/ssh:/git@git.zx2c4.com/git:/git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
