lib: utils/reset: Remove unused match data

Some drivers inherited FDT match data from the GPIO/syscon reset
drivers, but do not use it for anything. Remove it to avoid confusion.

Signed-off-by: Samuel Holland <samuel.holland@sifive.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Link: https://lore.kernel.org/r/20260513224414.1078791-1-samuel.holland@sifive.com
Signed-off-by: Anup Patel <anup@brainfault.org>
This commit is contained in:
Samuel Holland
2026-05-13 15:44:12 -07:00
committed by Anup Patel
parent e92c8fd083
commit 547a5bbda7
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -104,7 +104,7 @@ static int sg2042_mcu_reset_init(const void *fdt, int nodeoff,
} }
static const struct fdt_match sg2042_mcu_reset_match[] = { static const struct fdt_match sg2042_mcu_reset_match[] = {
{ .compatible = "sophgo,sg2042-hwmon-mcu", .data = (void *)true}, { .compatible = "sophgo,sg2042-hwmon-mcu" },
{ }, { },
}; };
+1 -1
View File
@@ -102,7 +102,7 @@ static int p1_reset_init(const void *fdt, int nodeoff,
} }
static const struct fdt_match p1_reset_match[] = { static const struct fdt_match p1_reset_match[] = {
{ .compatible = "spacemit,p1", .data = (void *)true }, { .compatible = "spacemit,p1" },
{ }, { },
}; };