Skip to content

Commit 6b1a65c

Browse files
andy-shevlag-linaro
authored andcommitted
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]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Lee Jones <[email protected]>
1 parent 98c8a0f commit 6b1a65c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/mfd/upboard-fpga.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
* Author: Thomas Richard <[email protected]>
1212
*/
1313

14-
#include <linux/acpi.h>
1514
#include <linux/bitfield.h>
1615
#include <linux/device.h>
1716
#include <linux/err.h>
@@ -311,7 +310,7 @@ MODULE_DEVICE_TABLE(acpi, upboard_fpga_acpi_match);
311310
static struct platform_driver upboard_fpga_driver = {
312311
.driver = {
313312
.name = "upboard-fpga",
314-
.acpi_match_table = ACPI_PTR(upboard_fpga_acpi_match),
313+
.acpi_match_table = upboard_fpga_acpi_match,
315314
.dev_groups = upboard_fpga_groups,
316315
},
317316
.probe = upboard_fpga_probe,

0 commit comments

Comments
 (0)