]> git.karo-electronics.de Git - linux-beck.git/commitdiff
regmap: cache: Fix typo in cache_bypass parameter description
authorAndrew F. Davis <afd@ti.com>
Wed, 23 Mar 2016 14:26:33 +0000 (09:26 -0500)
committerMark Brown <broonie@kernel.org>
Wed, 23 Mar 2016 18:12:39 +0000 (18:12 +0000)
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>
drivers/base/regmap/regcache.c

index 4170b7d952767074140ce26c4c1ac621823607ad..df7ff72908216f5d7a97f03af3f06ae4fd5adefd 100644 (file)
@@ -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