Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Andy Shevchenko and committed by
Lee Jones
6b1a65c5 98c8a0f3

+1 -2
+1 -2
drivers/mfd/upboard-fpga.c
··· 11 11 * Author: Thomas Richard <thomas.richard@bootlin.com> 12 12 */ 13 13 14 - #include <linux/acpi.h> 15 14 #include <linux/bitfield.h> 16 15 #include <linux/device.h> 17 16 #include <linux/err.h> ··· 310 311 static struct platform_driver upboard_fpga_driver = { 311 312 .driver = { 312 313 .name = "upboard-fpga", 313 - .acpi_match_table = ACPI_PTR(upboard_fpga_acpi_match), 314 + .acpi_match_table = upboard_fpga_acpi_match, 314 315 .dev_groups = upboard_fpga_groups, 315 316 }, 316 317 .probe = upboard_fpga_probe,