nvmem: core: Notify when a new layout is registered
authorMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 23 Aug 2023 13:27:44 +0000 (14:27 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 23 Aug 2023 14:34:02 +0000 (16:34 +0200)
commiteb176cb46191f20314878222d8186106e23cb711
tree4783cce9edd41f396258ef52476c879adc734d81
parentb97400912a08dae6c1c1779a05157f2ab0180f4f
nvmem: core: Notify when a new layout is registered

Tell listeners a new layout was introduced and is now available.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20230823132744.350618-23-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/nvmem/core.c
include/linux/nvmem-consumer.h