diff options
author | Fabrice Gasnier <fabrice.gasnier@st.com> | 2019-04-13 11:32:57 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-04-25 19:43:12 +0200 |
commit | 0a9b2d1ce42210d087d32b1979d3ada343537708 (patch) | |
tree | a30eb5aac596803d9a18e70c687c11d6071ca657 /lib | |
parent | 7c1cd8fda8fbcc3701f372003ef0a3b6d31e11f4 (diff) | |
download | linux-0a9b2d1ce42210d087d32b1979d3ada343537708.tar.bz2 |
nvmem: core: add nvmem_cell_read_u16
Add nvmem_cell_read_u16() helper to ease read of an u16 value on consumer
side. This is inspired by nvmem_cell_read_u32() function.
This helper is useful on stm32 that has 16 bits data cells stored in non
volatile memory.
Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions