nvmem: Simplify the ->add_cells() hook
authorMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 15 Dec 2023 11:15:30 +0000 (11:15 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Dec 2023 12:30:07 +0000 (13:30 +0100)
commit1b7c298a4ecbc28cc6ee94005734bff55eb83d22
tree5e20fc16648340d462d6d279a8c6fa26fa186697
parentec9c08a1cb8dc5e8e003f95f5f62de41dde235bb
nvmem: Simplify the ->add_cells() hook

The layout entry is not used and will anyway be made useless by the new
layout bus infrastructure coming next, so drop it. While at it, clarify
the kdoc entry.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20231215111536.316972-5-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/nvmem/core.c
drivers/nvmem/layouts/onie-tlv.c
drivers/nvmem/layouts/sl28vpd.c
include/linux/nvmem-provider.h