kernel-fxtec-pro1x/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 nvmem: Add the Broadcom OTP controller driver 2016-11-10 15:34:56 +01:00
core.c nvmem: core: Allow getting nvmem cell with a NULL cell id 2017-01-25 11:49:39 +01:00
imx-ocotp.c nvmem: octop: Add support for imx6ul 2017-01-25 11:49:39 +01:00
Kconfig nvmem: Add the Broadcom OTP controller driver 2016-11-10 15:34:56 +01:00
lpc18xx_eeprom.c nvmem: lpc18xx-eeprom: remove nvmem regmap dependency 2016-05-01 14:01:13 -07:00
lpc18xx_otp.c nvmem: add NXP LPC18xx OTP driver 2016-11-10 15:34:55 +01:00
Makefile nvmem: Add the Broadcom OTP controller driver 2016-11-10 15:34:56 +01:00
meson-efuse.c nvmem: amlogic: Add Amlogic Meson EFUSE driver 2016-09-01 14:24:21 -07:00
mtk-efuse.c nvmem: mtk-efuse: remove nvmem regmap dependency 2016-06-25 07:42:55 -07:00
mxs-ocotp.c nvmem: mxs-ocotp: remove nvmem regmap dependency 2016-06-25 07:42:55 -07:00
qfprom.c nvmem: qfprom: Allow single byte accesses for read/write 2017-01-04 18:22:47 +01:00
rockchip-efuse.c nvmem: rockchip-efuse: add rk3399-efuse support 2016-09-02 17:22:51 +02:00
sunxi_sid.c nvmem: sunxi-sid: remove nvmem regmap dependency 2016-05-01 14:01:00 -07:00
vf610-ocotp.c nvmem: vif610-ocotp: remove nvmem regmap dependency 2016-05-01 14:01:00 -07:00