summaryrefslogtreecommitdiffstats
path: root/Documentation/io_ordering.txt
diff options
context:
space:
mode:
authorMasahiro Yamada2017-10-20 18:57:39 +0200
committerGreg Kroah-Hartman2017-11-08 13:54:16 +0100
commit4dd5f60e9a841da5c14c2a0a23290adddb4b5087 (patch)
tree536ac44c75280d921071edfd289a77726a2cd70f /Documentation/io_ordering.txt
parentnvmem: imx-iim: use stack for nvmem_config instead of malloc'ing it (diff)
downloadkernel-qcow2-linux-4dd5f60e9a841da5c14c2a0a23290adddb4b5087.tar.gz
kernel-qcow2-linux-4dd5f60e9a841da5c14c2a0a23290adddb4b5087.tar.xz
kernel-qcow2-linux-4dd5f60e9a841da5c14c2a0a23290adddb4b5087.zip
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>
Diffstat (limited to 'Documentation/io_ordering.txt')
0 files changed, 0 insertions, 0 deletions