regmap: Add a function to check if a regmap register is cached
authorCristian Birsan <cristian.birsan@microchip.com>
Mon, 8 Aug 2016 15:44:21 +0000 (18:44 +0300)
committerMark Brown <broonie@kernel.org>
Tue, 9 Aug 2016 12:43:33 +0000 (13:43 +0100)
commit1ea975cf1ef57b1e44c0aec4820f60bb3b60904b
treebd316f9aa746e60842cc2cb740fbfc317bf34bc5
parent29b4817d4018df78086157ea3a55c1d9424a7cfc
regmap: Add a function to check if a regmap register is cached

Add a function to check if a regmap register is cached. This will be used
in debugfs to dump the cached values of write only registers.

Signed-off-by: Cristian Birsan <cristian.birsan@microchip.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/base/regmap/internal.h
drivers/base/regmap/regmap.c