linux_dsm_epyc7002/drivers/nvmem
Vivek Gautam fd0c478c0d nvmem: core: Allow getting nvmem cell with a NULL cell id
The nvmem cell with a NULL cell name/id should be the one
with no accompanying 'nvmem-cell-names' property, and thus
will be the cell at index 0 in the device tree.
So, we default to index 0 and update the cell index only when
nvmem cell name id exists.

Suggested-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Vivek Gautam <vivek.gautam@codeaurora.org>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-01-25 11:49:39 +01:00
..
bcm-ocotp.c
core.c nvmem: core: Allow getting nvmem cell with a NULL cell id 2017-01-25 11:49:39 +01:00
imx-ocotp.c
Kconfig
lpc18xx_eeprom.c
lpc18xx_otp.c
Makefile
meson-efuse.c
mtk-efuse.c
mxs-ocotp.c
qfprom.c
rockchip-efuse.c
sunxi_sid.c
vf610-ocotp.c