kernel_optimize_test/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
core.c nvmem: properly handle returned value nvmem_reg_read 2018-05-14 16:20:48 +02:00
imx-iim.c
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
lpc18xx_otp.c
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
mtk-efuse.c
mxs-ocotp.c
qfprom.c
rave-sp-eeprom.c nvmem: Add RAVE SP EEPROM driver 2018-05-14 16:20:48 +02:00
rockchip-efuse.c
snvs_lpgpr.c
sunxi_sid.c
uniphier-efuse.c
vf610-ocotp.c