mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-12-27 10:01:39 -05:00
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>
This commit is contained in:
committed by
Lee Jones
parent
98c8a0f33e
commit
6b1a65c5a2
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user