nvmem: core: Add nvmem_cell_read_u32
authorLeonard Crestez <leonard.crestez@nxp.com>
Wed, 26 Jul 2017 09:34:46 +0000 (11:34 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Aug 2017 15:33:23 +0000 (17:33 +0200)
commitd026d70a2e9460dc701d20b48672b80a2656006d
tree24acc74a69f48c4f163b75c9764305f19f33da68
parent5f214ccdd1cab5cdfbd15bf08124d456c7fd8eec
nvmem: core: Add nvmem_cell_read_u32

This function does a quick and easy read of an u32 value without any
kind of resource management code on the consumer side.

Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
Reviewed-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/nvmem/core.c
include/linux/nvmem-consumer.h