OSDN Git Service

regmap: Simplify the initiation of async I/O
authorMark Brown <broonie@linaro.org>
Wed, 9 Oct 2013 11:28:52 +0000 (12:28 +0100)
committerMark Brown <broonie@linaro.org>
Wed, 9 Oct 2013 13:05:24 +0000 (14:05 +0100)
commit0a8198094da895c8d5db95812fe9de7027d808e4
treed9da7fa270e1e618097353eaf1b2fb97239d9fd7
parent651e013e3ce6c0646c39a07e22bebad75a207209
regmap: Simplify the initiation of async I/O

Rather than passing a flag around through the entire call stack store it
in the regmap struct and read it when required. This minimises the
visibility of the feature through the API, minimising the code updates
needed to use it more widely.

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