summaryrefslogtreecommitdiffstats
path: root/drivers/base/regmap/regmap-spi.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2013-05-08 14:55:25 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-05-12 16:46:47 +0200
commit7278af5fb3eb7247449fd4489dacb75b9ba86f73 (patch)
tree760b3a912c3978c732f058a703156dc3a27aa41c /drivers/base/regmap/regmap-spi.c
parentregmap: rbtree: Factor out node allocation (diff)
downloadlinux-7278af5fb3eb7247449fd4489dacb75b9ba86f73.tar.xz
linux-7278af5fb3eb7247449fd4489dacb75b9ba86f73.zip
regmap: rbtree: Use range information to allocate nodes
If range information has been provided then when we allocate a rbnode within a range allocate the entire range. The goal is to minimise the number of reallocations done when combining or extending blocks. At present only readability and yes_ranges are taken into account, this is expected to cover most cases efficiently. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/base/regmap/regmap-spi.c')
0 files changed, 0 insertions, 0 deletions