regmap: Properly round reg_bytes and val_bytes
authorWolfram Sang <w.sang@pengutronix.de>
Sat, 28 Jan 2012 01:16:41 +0000 (02:16 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 29 Jan 2012 21:42:40 +0000 (21:42 +0000)
commitc212acccc368a087a53559aac2b7d3be941b1252
tree260a587cc531a75ad1abaf1d40ce775c4e236f32
parent9aa507505cdcd10b7390398790f013374ee74a26
regmap: Properly round reg_bytes and val_bytes

For the upcoming 2/6-format, we don't see debugfs output otherwise,
since the current division results in 0. I'd think 10/14 is broken
currently, too.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/base/regmap/regmap.c