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)
commita6539c32949063c8147905512a83a98842c2d254
tree0eb2d7a118d3fc94b998bc6fe24239fcdefa4450
parentb01543dfe67bb1d191998e90d20534dc354de059
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