doc: nvmem: Update example
authorSean Anderson <sean.anderson@seco.com>
Sun, 20 Feb 2022 15:15:25 +0000 (15:15 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Feb 2022 17:00:30 +0000 (18:00 +0100)
commit671aa5a4d493f46ff9720bd2544bae00271be116
treef6118d9894a32351d9ff58ece8bf5aec2e79e448
parent673d2cc5c1e7d31ee0597f6e18b45dcd257bc5d2
doc: nvmem: Update example

Update the example to reflect the new API. I have chosen the brcm-nvram
driver since it seems to be simpler than the qfprom driver.

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20220220151527.17216-12-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/driver-api/nvmem.rst