Re: [PATCH RFC] drivers: nvmem: Export nvmem_add_cells()

2018-05-08 Thread Srinivas Kandagatla
On 08/05/18 14:16, Andrew Lunn wrote: On Tue, May 08, 2018 at 09:35:55AM +0100, Srinivas Kandagatla wrote: On 05/05/18 20:11, Andrew Lunn wrote: Not all platforms use device tree. It is useful to be able to add cells to a NVMEM device from code. Export nvmem_add_cells() so making this possi

Re: [PATCH RFC] drivers: nvmem: Export nvmem_add_cells()

2018-05-08 Thread Andrew Lunn
On Tue, May 08, 2018 at 09:35:55AM +0100, Srinivas Kandagatla wrote: > > > On 05/05/18 20:11, Andrew Lunn wrote: > >Not all platforms use device tree. It is useful to be able to add > >cells to a NVMEM device from code. Export nvmem_add_cells() so making > >this possible. > > > >This required cha

Re: [PATCH RFC] drivers: nvmem: Export nvmem_add_cells()

2018-05-08 Thread Srinivas Kandagatla
On 05/05/18 20:11, Andrew Lunn wrote: Not all platforms use device tree. It is useful to be able to add cells to a NVMEM device from code. Export nvmem_add_cells() so making this possible. This required changing the parameters a bit, so that just the cells and the number of cells are passed, n