regmap: Introduce regmap_get_reg_stride
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Thu, 21 May 2015 16:42:54 +0000 (17:42 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 22 May 2015 11:19:21 +0000 (12:19 +0100)
This patch introduces regmap_get_reg_stride() function which would
be used by the infrastructures like nvmem framework built on top of
regmap. Mostly this function would be used for sanity checks on inputs
within such infrastructure.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/base/regmap/regmap.c
include/linux/regmap.h

Simple merge
Simple merge