lib: utils/regmap: Use fdt_driver for initialization

The regmap driver subsystem does not need any extra data, so it can use
`struct fdt_driver` directly. It always initializes the driver for a
specific DT node.

Signed-off-by: Samuel Holland <samuel.holland@sifive.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
This commit is contained in:
Samuel Holland
2024-11-11 14:02:52 -08:00
committed by Anup Patel
parent 5fa510c5f6
commit 1f8db2f18f
4 changed files with 6 additions and 34 deletions

View File

@@ -1,3 +1,3 @@
HEADER: sbi_utils/regmap/fdt_regmap.h
TYPE: struct fdt_regmap
TYPE: const struct fdt_driver
NAME: fdt_regmap_drivers