mfd: upboard-fpga: Remove ACPI_PTR() annotation
Subsystems (2)
PATCH 1/1 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 <[email protected]>
--- drivers/mfd/upboard-fpga.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/mfd/upboard-fpga.c +1 -2
@@ -11,7 +11,6 @@* Author: Thomas Richard <[email protected]> */ -#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,
Signature · 1 line
2.43.0.rc1.1336.g36b5255a03ac
Re: (subset) [PATCH v1 1/1] mfd: upboard-fpga: Remove ACPI_PTR() annotation
Quoted 4 lines · Andy Shevchenko
The ACPI ID table is defined globally without an #ifdef check for
CONFIG_ACPI, soACPI_PTR()makes no sense here. Also note, driver depends on ACPI anyway.
Applied, thanks!
[1/1] mfd: upboard-fpga: Remove ACPI_PTR() annotation
commit: 22e8cd7693c65775147be81e8ed39a52305f6fc6
--
Lee Jones [李琼斯]