]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
regmap: Cache async work structures
authorMark Brown <broonie@linaro.org>
Mon, 7 Oct 2013 22:00:24 +0000 (23:00 +0100)
committerMark Brown <broonie@linaro.org>
Mon, 7 Oct 2013 22:04:41 +0000 (23:04 +0100)
commit7e09a979404ed07b8f05d09a0e87a87c7891f472
tree3222b86dc2cc2b3649758633cfb17207d2a0e35c
parentd0e639c9e06d44e713170031fe05fb60ebe680af
regmap: Cache async work structures

Rather than allocating and deallocating the structures used to manage async
transfers each time we do one keep the structures around as long as the
regmap is around. This should provide a small performance improvement.

Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/base/regmap/internal.h
drivers/base/regmap/regmap.c