]> git.baikalelectronics.ru Git - kernel.git/commit
regmap: cache: Provide a get address of value operation
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 13 Mar 2013 19:29:36 +0000 (19:29 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 26 Mar 2013 21:38:16 +0000 (21:38 +0000)
commit00f402cd61f5877c31ac3e52a3352c70b5093af0
treeafa323b0fc93ec618da94bc54b40c2047c8a422c
parent7dd6041716d7fa68391d5bc13cea35fd2d7f89e0
regmap: cache: Provide a get address of value operation

Provide a helper to do the size based index into a block of registers and
use it when reading a value.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/base/regmap/internal.h
drivers/base/regmap/regcache.c