commit | 0a9b2d1ce42210d087d32b1979d3ada343537708 | [log] [tgz] |
---|---|---|
author | Fabrice Gasnier <fabrice.gasnier@st.com> | Sat Apr 13 11:32:57 2019 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Apr 25 19:43:12 2019 +0200 |
tree | a30eb5aac596803d9a18e70c687c11d6071ca657 | |
parent | 7c1cd8fda8fbcc3701f372003ef0a3b6d31e11f4 [diff] |
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>