]> git.itanic.dy.fi Git - linux-stable/commit
nvmem: core: allow to modify a cell before adding it
authorMichael Walle <michael@walle.cc>
Tue, 4 Apr 2023 17:21:25 +0000 (18:21 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Apr 2023 17:41:11 +0000 (19:41 +0200)
commitde12c9691501ccba41a154c223869f82be4c12fd
treea2f14345216af939da60e31f795eb04bbed62795
parent345ec382cd4b736c36e01f155d08c913b225b736
nvmem: core: allow to modify a cell before adding it

Provide a way to modify a cell before it will get added. This is useful
to attach a custom post processing hook via a layout.

Signed-off-by: Michael Walle <michael@walle.cc>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20230404172148.82422-18-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/nvmem/core.c
include/linux/nvmem-provider.h