regmap: A cache type of _NONE behaves like a bypassed cache
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 19 Sep 2011 15:08:03 +0000 (16:08 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 19 Sep 2011 18:06:36 +0000 (19:06 +0100)
commite7a6db30df42234bc0f7b9a0af402838e0f146b1
treebf949bc7aa1099cfa95b02be37d11cc6e372185d
parent5d1729e7f02f050c73b68ce0198f8e5c48e9608a
regmap: A cache type of _NONE behaves like a bypassed cache

Avoid extra special casing by setting the cache_bypass flag when we're
not caching.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/base/regmap/regcache.c