]> 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)
commit13bcce5dd23568f1b1c213078cde92cc3a281065
tree0eb2d7a118d3fc94b998bc6fe24239fcdefa4450
parent321a767d01de16896a7e28edab521f81c20e6c60
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