summaryrefslogtreecommitdiffstats
path: root/crypto/twofish_generic.c
diff options
context:
space:
mode:
authorYangtao Li <tiny.windzz@gmail.com>2020-03-10 14:22:45 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-03-19 07:41:02 +0100
commit6bb317ce7564fdf3b6bbb3e6ea9193fafde0ba8d (patch)
treed3cef54d8b4ab3e2f47927aba9880bd303535a85 /crypto/twofish_generic.c
parentnvmem: imx: ocotp: add i.MX8MP support (diff)
downloadlinux-6bb317ce7564fdf3b6bbb3e6ea9193fafde0ba8d.tar.xz
linux-6bb317ce7564fdf3b6bbb3e6ea9193fafde0ba8d.zip
nvmem: core: add nvmem_cell_read_common
Now there are nvmem_cell_read_u16 and nvmem_cell_read_u32. They are very similar, let's strip out a common part. And use nvmem_cell_read_common to simplify their implementation. Signed-off-by: Yangtao Li <tiny.windzz@gmail.com> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Link: https://lore.kernel.org/r/20200310132257.23358-3-srinivas.kandagatla@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'crypto/twofish_generic.c')
0 files changed, 0 insertions, 0 deletions