mirror of
https://github.com/riscv-software-src/opensbi.git
synced 2026-05-23 14:21:32 +01:00
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:
committed by
Anup Patel
parent
e92c8fd083
commit
547a5bbda7
@@ -102,7 +102,7 @@ static int p1_reset_init(const void *fdt, int nodeoff,
|
||||
}
|
||||
|
||||
static const struct fdt_match p1_reset_match[] = {
|
||||
{ .compatible = "spacemit,p1", .data = (void *)true },
|
||||
{ .compatible = "spacemit,p1" },
|
||||
{ },
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user