doc: nvmem: Update example
authorSean Anderson <sean.anderson@seco.com>
Mon, 14 Feb 2022 16:35:13 +0000 (11:35 -0500)
committerSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Mon, 14 Feb 2022 16:37:19 +0000 (16:37 +0000)
commit902ed4903c194be5fe2b674a22e9a89cae868ce3
tree1546630cd6cea92fb84ca0f4aaf91ff2baa55ed3
parent29be7d2b8f9ef3116a47d0cf8226d9322d6eddf4
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>
Documentation/driver-api/nvmem.rst