linux/drivers/nvmem
Mathieu Malaterre 50808bfcc1 nvmem: properly handle returned value nvmem_reg_read
Function nvmem_reg_read can return a non zero value indicating an error.
This returned value must be read and error propagated to
nvmem_cell_prepare_write_buffer. Silence the following gcc warning (W=1):

drivers/nvmem/core.c:1093:9: warning: variable 'rc' set but
 not used [-Wunused-but-set-variable]

Signed-off-by: Mathieu Malaterre <malat@debian.org>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-05-14 16:20:48 +02:00
..
bcm-ocotp.c nvmem: bcm-ocotp: Do not use "&pdev->dev" explicitly 2018-03-14 19:28:14 +01:00
core.c nvmem: properly handle returned value nvmem_reg_read 2018-05-14 16:20:48 +02:00
imx-iim.c nvmem: imx-iim: Do not use "&pdev->dev" explicitly 2018-03-14 19:28:14 +01:00
imx-ocotp.c nvmem: imx-ocotp: remove unused dead code 2018-03-14 19:28:15 +01:00
Kconfig nvmem: Add RAVE SP EEPROM driver 2018-05-14 16:20:48 +02:00
lpc18xx_eeprom.c nvmem: set nvmem->owner to nvmem->dev->driver->owner if unset 2017-11-08 13:54:17 +01:00
lpc18xx_otp.c nvmem: lpc18xx_otp: Convert to use devm_nvmem_register() 2018-03-14 19:28:14 +01:00
Makefile nvmem: Add RAVE SP EEPROM driver 2018-05-14 16:20:48 +02:00
meson-efuse.c nvmem: meson-efuse: add write support 2018-05-14 16:20:48 +02:00
meson-mx-efuse.c nvmem: meson-mx-efuse: Convert to use devm_nvmem_register() 2018-03-14 19:28:14 +01:00
mtk-efuse.c nvmem: mtk-efuse: Convert to use devm_nvmem_register() 2018-03-14 19:28:13 +01:00
mxs-ocotp.c nvmem: set nvmem->owner to nvmem->dev->driver->owner if unset 2017-11-08 13:54:17 +01:00
qfprom.c nvmem: qfprom: Convert to use devm_nvmem_register() 2018-03-14 19:28:14 +01:00
rave-sp-eeprom.c nvmem: Add RAVE SP EEPROM driver 2018-05-14 16:20:48 +02:00
rockchip-efuse.c nvmem: rockchip-efuse: Do not use "&pdev->dev" explicitly 2018-03-14 19:28:14 +01:00
snvs_lpgpr.c nvmem: add i.MX7 support to snvs-lpgpr 2018-03-14 19:28:14 +01:00
sunxi_sid.c nvmem: sunxi-sid: fix H3 SID controller support 2018-03-14 19:28:15 +01:00
uniphier-efuse.c nvmem: uniphier-efuse: Convert to use devm_nvmem_register() 2018-03-14 19:28:13 +01:00
vf610-ocotp.c nvmem: vf610-ocotp: Do not use "&pdev->dev" explicitly 2018-03-14 19:28:14 +01:00