From: Shiraz Hashim <shashim@xxxxxxxxxxxxxx>
Existing nvmem framework export full register space
as nvmem binary, but not exporting child node of nvmem
which is nvmem cell. Kernel can read the specific cell
by using nvmem_cell_read but userspace don't have such
provision.
Add framework to export nvmem cell as well, So
userspace can use it directly.
Signed-off-by: Shiraz Hashim <shashim@xxxxxxxxxxxxxx>
Signed-off-by: Gaurav Kohli <gkohli@xxxxxxxxxxxxxx>
Co-developed-by: Gaurav Kohli <gkohli@xxxxxxxxxxxxxx>
diff --git a/drivers/nvmem/core.c b/drivers/nvmem/core.c