summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2025-02-05 14:25:36 +0200
committerLee Jones <lee@kernel.org>2025-03-14 08:59:06 +0000
commit6b1a65c5a202d9e37655c90479126e92f2987227 (patch)
treec06c614ad2ff4a2271ef3add369075d780c3ea57
parent98c8a0f33ed6b65e957ddec32fe252681da50cd3 (diff)
mfd: upboard-fpga: Remove ACPI_PTR() annotation
The ACPI ID table is defined globally without an #ifdef check for CONFIG_ACPI, so ACPI_PTR() makes no sense here. Also note, driver depends on ACPI anyway. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20250205122536.631252-1-andriy.shevchenko@linux.intel.com Signed-off-by: Lee Jones <lee@kernel.org>
-rw-r--r--drivers/mfd/upboard-fpga.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mfd/upboard-fpga.c b/drivers/mfd/upboard-fpga.c
index 5a330e2f2229..afce623bbba5 100644
--- a/drivers/mfd/upboard-fpga.c
+++ b/drivers/mfd/upboard-fpga.c
@@ -11,7 +11,6 @@
* Author: Thomas Richard <thomas.richard@bootlin.com>
*/
-#include <linux/acpi.h>
#include <linux/bitfield.h>
#include <linux/device.h>
#include <linux/err.h>
@@ -311,7 +310,7 @@ MODULE_DEVICE_TABLE(acpi, upboard_fpga_acpi_match);
static struct platform_driver upboard_fpga_driver = {
.driver = {
.name = "upboard-fpga",
- .acpi_match_table = ACPI_PTR(upboard_fpga_acpi_match),
+ .acpi_match_table = upboard_fpga_acpi_match,
.dev_groups = upboard_fpga_groups,
},
.probe = upboard_fpga_probe,