Subject: [PATCH 3/3] nvmem: zynqmp_nvmem: Drop add_legacy_fixed_of_cells flag

From: Harsh Jain <[email-masked]>
Date: Thu, 28 May 2026 12:13:23 +0530

From: Harish Ediga <[email-masked]>

Remove the add_legacy_fixed_of_cells flag. The in-tree DTS was already
migrated to fixed-layout in commit b2774d0292e8 ("arm64: zynqmp:
Align nvmem node with dtschema").

Signed-off-by: Harish Ediga <[email-masked]>
Co-developed-by: Harsh Jain <[email-masked]>
Signed-off-by: Harsh Jain <[email-masked]>
---
 drivers/nvmem/zynqmp_nvmem.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/nvmem/zynqmp_nvmem.c b/drivers/nvmem/zynqmp_nvmem.c
index e8ab4ce23fb9..54d5d7c4eee9 100644
--- a/drivers/nvmem/zynqmp_nvmem.c
+++ b/drivers/nvmem/zynqmp_nvmem.c
@@ -216,7 +216,6 @@ static int zynqmp_nvmem_probe(struct platform_device *pdev)
 	econfig.size = ZYNQMP_NVMEM_SIZE;
 	econfig.dev = dev;
 	econfig.priv = dev;
-	econfig.add_legacy_fixed_of_cells = true;
 	econfig.reg_read = zynqmp_nvmem_read;
 	econfig.reg_write = zynqmp_nvmem_write;
 
-- 
2.34.1