]> git.baikalelectronics.ru Git - kernel.git/commit
regmap: Allow users to query the size of register values
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 17 Feb 2012 22:20:14 +0000 (14:20 -0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 20 Feb 2012 21:17:08 +0000 (21:17 +0000)
commit30ed6e21150103f40d6b5ca83c16027c188478c9
tree0eb2d7a118d3fc94b998bc6fe24239fcdefa4450
parent44dc81691539bebc8ab022c94da1fef0351c71ea
regmap: Allow users to query the size of register values

Generic infrastructure based on top of regmap may want to operate on
blocks of data and therefore find it useful to find the size of the
register values. Provide an accessor operation for this.

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