linux/drivers/nvmem
Masahiro Yamada 4dd5f60e9a nvmem: mtk-efuse: use stack for nvmem_config instead of malloc'ing it
nvmem_register() copies all the members of nvmem_config to
nvmem_device.  So, nvmem_config is one-time use data during
probing.  There is no point to keep it until the driver detach.
Using stack should be no problem because nvmem_config is pretty
small.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-11-08 13:54:16 +01:00
..
bcm-ocotp.c nvmem: correct Broadcom OTP controller driver writes 2017-06-09 12:08:27 +02:00
core.c Merge 4.14-rc5 into char-misc-next 2017-10-16 09:22:22 +02:00
imx-iim.c nvmem: imx-iim: use stack for nvmem_config instead of malloc'ing it 2017-11-08 13:54:16 +01:00
imx-ocotp.c nvmem: imx-ocotp: add write support 2017-04-08 17:51:48 +02:00
Kconfig nvmem: add a driver for the Amlogic Meson6/Meson8/Meson8b SoCs 2017-10-20 15:38:02 +02:00
lpc18xx_eeprom.c nvmem: lpc18xx-eeprom: explicitly request exclusive reset control 2017-08-28 17:33:22 +02:00
lpc18xx_otp.c nvmem: add NXP LPC18xx OTP driver 2016-11-10 15:34:55 +01:00
Makefile nvmem: add a driver for the Amlogic Meson6/Meson8/Meson8b SoCs 2017-10-20 15:38:02 +02:00
meson-efuse.c nvmem: meson-efuse: indicate that this driver is only for Meson GX SoCs 2017-10-20 15:38:02 +02:00
meson-mx-efuse.c nvmem: add a driver for the Amlogic Meson6/Meson8/Meson8b SoCs 2017-10-20 15:38:02 +02:00
mtk-efuse.c nvmem: mtk-efuse: use stack for nvmem_config instead of malloc'ing it 2017-11-08 13:54:16 +01: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: add support for RK3368 2017-10-20 15:38:02 +02:00
snvs_lpgpr.c nvmem: add snvs_lpgpr driver 2017-10-04 10:30:53 +02:00
sunxi_sid.c nvmem: sunxi-sid: add support for H3's SID controller 2017-04-08 17:51:48 +02:00
vf610-ocotp.c nvmem: vif610-ocotp: remove nvmem regmap dependency 2016-05-01 14:01:00 -07:00