summaryrefslogtreecommitdiffstats
path: root/drivers/base/regmap/regcache.c
diff options
context:
space:
mode:
authorAndrew F. Davis <afd@ti.com>2016-03-23 15:26:33 +0100
committerMark Brown <broonie@kernel.org>2016-03-23 19:12:39 +0100
commit267c85860308d36bc163c5573308cd024f659d7c (patch)
treed5bf037470c99307d76d4eaa08004a34345f71f0 /drivers/base/regmap/regcache.c
parentMerge remote-tracking branch 'regmap/topic/update-bits' into regmap-next (diff)
downloadlinux-267c85860308d36bc163c5573308cd024f659d7c.tar.xz
linux-267c85860308d36bc163c5573308cd024f659d7c.zip
regmap: cache: Fix typo in cache_bypass parameter description
Setting the flag 'cache_bypass' will bypass the cache not the hardware. Fix this comment here. Fixes: 0eef6b0415f5 ("regmap: Fix doc comment") Signed-off-by: Andrew F. Davis <afd@ti.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/base/regmap/regcache.c')
-rw-r--r--drivers/base/regmap/regcache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/regmap/regcache.c b/drivers/base/regmap/regcache.c
index 4170b7d95276..df7ff7290821 100644
--- a/drivers/base/regmap/regcache.c
+++ b/drivers/base/regmap/regcache.c
@@ -529,7 +529,7 @@ EXPORT_SYMBOL_GPL(regcache_mark_dirty);
* regcache_cache_bypass: Put a register map into cache bypass mode
*
* @map: map to configure
- * @cache_bypass: flag if changes should not be written to the hardware
+ * @cache_bypass: flag if changes should not be written to the cache
*
* When a register map is marked with the cache bypass option, writes
* to the register map API will only update the hardware and not the