diff options
author | Andy Shevchenko <[email protected]> | 2022-09-05 16:23:02 +0800 |
---|---|---|
committer | Wei Xu <[email protected]> | 2022-09-08 02:27:28 +0000 |
commit | 947f11d153f20f87828a15e829d69890db71bcf7 (patch) | |
tree | 17da10db7be434a20d555bdb072f9f0bd93dec40 /net/lapb/lapb_timer.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 <[email protected]>
Reviewed-by: Rafael J. Wysocki <[email protected]>
Signed-off-by: John Garry <[email protected]>
Signed-off-by: Wei Xu <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions