commit | 1b079ca2c2e9a4652051bc4b62a5ef83d59d86bb | [log] [tgz] |
---|---|---|
author | Charles Keepax <ckeepax@opensource.cirrus.com> | Thu Feb 15 17:52:17 2018 +0000 |
committer | Mark Brown <broonie@kernel.org> | Fri Feb 16 12:03:29 2018 +0000 |
tree | e64d032fdf75a466c24252a5b685b7a9040c25d1 | |
parent | 0645ba4331c2b02ba9907b1591ba722535890e9f [diff] |
regmap: Tidy up regmap_raw_read chunking code Raw reads may need to be split into small chunks if max_raw_read is set. Tidy up the code implementing this, the new code is slightly clearer, slightly shorter and slightly more efficient. Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com> Signed-off-by: Mark Brown <broonie@kernel.org>