diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2021-08-27 17:53:10 +0300 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2021-09-13 10:36:52 +0200 |
commit | 349bff48ae0f5f8aa2075d0bdc2091a30bd634f6 (patch) | |
tree | 8975311db308d03ae6250196daef9f5048633739 /lib/string_helpers.c | |
parent | 6880fa6c56601bb8ed59df6c30fd390cc5f6dd8f (diff) | |
download | linux-349bff48ae0f5f8aa2075d0bdc2091a30bd634f6.tar.gz linux-349bff48ae0f5f8aa2075d0bdc2091a30bd634f6.tar.bz2 linux-349bff48ae0f5f8aa2075d0bdc2091a30bd634f6.zip |
platform/x86/intel: punit_ipc: Drop wrong use of ACPI_PTR()
ACPI_PTR() is more harmful than helpful. For example, in this case
if CONFIG_ACPI=n, the ID table left unused which is not what we want.
Instead of adding ifdeffery here and there, drop ACPI_PTR()
and unused acpi.h.
Fixes: fdca4f16f57d ("platform:x86: add Intel P-Unit mailbox IPC driver")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20210827145310.76239-1-andriy.shevchenko@linux.intel.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions