summaryrefslogtreecommitdiff
path: root/drivers/nvmem/Makefile
diff options
context:
space:
mode:
authorMichael Walle <michael@walle.cc>2023-02-06 16:43:50 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-02-06 21:06:59 +0300
commit50014d659617dc58780a5d31ceb76c82779a9d8b (patch)
treee1f10ef68ab8aad2691bb58708ebe86f7ee1a908 /drivers/nvmem/Makefile
parent2ded6830d376d5e7bf43d59f7f7fdf1a59abc676 (diff)
downloadlinux-50014d659617dc58780a5d31ceb76c82779a9d8b.tar.xz
nvmem: core: use nvmem_add_one_cell() in nvmem_add_cells_from_of()
Convert nvmem_add_cells_from_of() to use the new nvmem_add_one_cell(). This will remove duplicate code and it will make it possible to add a hook to a nvmem layout in between, which can change fields before the cell is finally added. Signed-off-by: Michael Walle <michael@walle.cc> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Link: https://lore.kernel.org/r/20230206134356.839737-17-srinivas.kandagatla@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/nvmem/Makefile')
0 files changed, 0 insertions, 0 deletions