[PATCH 1/2] nvmem: core: Allow getting cell by index in phandle

2016-12-23 Thread Vivek Gautam
Fork out a method to get nvmem cell using cell index in the phandle for the cell. This helps in getting the lone cell given in the phandle, without mentioning the cell name in device tree. Signed-off-by: Vivek Gautam --- drivers/nvmem/core.c | 35

[PATCH 1/2] nvmem: core: Allow getting cell by index in phandle

2016-12-23 Thread Vivek Gautam
Fork out a method to get nvmem cell using cell index in the phandle for the cell. This helps in getting the lone cell given in the phandle, without mentioning the cell name in device tree. Signed-off-by: Vivek Gautam --- drivers/nvmem/core.c | 35 ---