diff options
author | Yicong Yang <yangyicong@hisilicon.com> | 2021-04-12 19:58:28 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-04-12 17:07:38 +0100 |
commit | 4a46f88681ca514f9cb33b39312d0ec4e2ec84da (patch) | |
tree | 4baf30757f083faecadd3752898757bddccac8d3 /drivers/staging | |
parent | 4c84e42d29afa3dce201a4db747db2a5ba404604 (diff) |
spi: hisi-sfc-v3xx: drop unnecessary ACPI_PTR and related ifendif protection
We use ACPI_PTR() and related ifendif protection for the id table.
This is unnecessary as the struct acpi_device_id is defined in
mod_devicetable.h and doesn't rely on ACPI. The driver doesn't
use any ACPI apis, so it can be compiled in the ACPI=n case
with no warnings.
So remove the ACPI_PTR and related ifendif protection, also
replace the header acpi.h with mod_devicetable.h.
Acked-by: John Garry <john.garry@huawei.com>
Signed-off-by: Yicong Yang <yangyicong@hisilicon.com>
Link: https://lore.kernel.org/r/1618228708-37949-3-git-send-email-yangyicong@hisilicon.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/staging')
0 files changed, 0 insertions, 0 deletions