diff mbox series

[3/5] platform: starfive: drop "compatible" from struct pmic

Message ID 0abbfca26af666f06268003c40ecc2069b5fcecf.1706705649.git.namcao@linutronix.de
State Superseded
Headers show
Series starfive reboot cleanup & fix | expand

Commit Message

Nam Cao Jan. 31, 2024, 1:09 p.m. UTC
The member "compatible" of struct pmic is not used. Delete it.

Signed-off-by: Nam Cao <namcao@linutronix.de>
---
 platform/generic/starfive/jh7110.c | 2 --
 1 file changed, 2 deletions(-)
diff mbox series

Patch

diff --git a/platform/generic/starfive/jh7110.c b/platform/generic/starfive/jh7110.c
index 9f5261b..cb8c48d 100644
--- a/platform/generic/starfive/jh7110.c
+++ b/platform/generic/starfive/jh7110.c
@@ -23,7 +23,6 @@ 
 struct pmic {
 	struct i2c_adapter *adapter;
 	u32 dev_addr;
-	const char *compatible;
 };
 
 struct jh7110 {
@@ -208,7 +207,6 @@  static int pm_reset_init(void *fdt, int nodeoff,
 		return rc;
 
 	pmic_inst.dev_addr = addr;
-	pmic_inst.compatible = match->compatible;
 
 	i2c_bus = fdt_parent_offset(fdt, nodeoff);
 	if (i2c_bus < 0)