bus: hisi_lpc: Don't guard ACPI IDs with ACPI_PTR()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 5 Sep 2022 08:23:05 +0000 (16:23 +0800)
committerWei Xu <xuwei5@hisilicon.com>
Thu, 8 Sep 2022 02:27:29 +0000 (02:27 +0000)
commite8cd65061fac64d6d0b5c3f5c3059c326b1492f0
tree2ca626c004760b06e65830c5f988d2f0517b6858
parent5e3e70b8e1ae98358d1534e27b0a8259ce3efee8
bus: hisi_lpc: Don't guard ACPI IDs with ACPI_PTR()

The OF ID table is not guarded, and the ACPI table does not needs it either.
The IDs do not depend on the configuration. Hence drop ACPI_PTR() from the
code and move ID table closer to its user.

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>
drivers/bus/hisi_lpc.c