ACPI: APD: Remove unnecessary APD_ADDR() macro stub
authorHanjun Guo <guohanjun@huawei.com>
Mon, 7 Sep 2020 12:57:32 +0000 (20:57 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 25 Sep 2020 10:48:11 +0000 (12:48 +0200)
commitee2bc5d2c4059622737c0461e60aba6c0be6793c
tree16a37eddc03ac00bc2bc6149cb1916f032cd3bdf
parent5df8e5f4f9cec84b72ee2607fdff364903d5d7ee
ACPI: APD: Remove unnecessary APD_ADDR() macro stub

Since APD_ADDR(desc) is only used when CONFIG_X86_AMD_PLATFORM_DEVICE
or CONFIG_ARM64 is set, no need for the stub APD_ADDR(desc) definition
covering the other cases, so remove it.

Also update the comments for #endif.

Signed-off-by: Hanjun Guo <guohanjun@huawei.com>
[ rjw: Subject and changelog edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpi_apd.c