diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-11-02 11:00:03 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-11-08 09:15:00 -0500 |
commit | 50b776fc71c13663eb7434f634f2b796de5c9885 (patch) | |
tree | 360e58b6b93e7142b9c02b7aa987a6c65e98f7a8 | |
parent | 8ae0d7e8a918e9603748abe9b31984fc5d96abb3 (diff) |
regmap: Rename LZO cache type to compressed
Users probably don't care about the specific compression algorithm and
we might want to use a different algorithm (snappy being the one I'm
thinking of right now) so update the public interface to have a more
generic name.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
-rw-r--r-- | drivers/base/regmap/regcache-lzo.c | 2 | ||||
-rw-r--r-- | include/linux/regmap.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/base/regmap/regcache-lzo.c b/drivers/base/regmap/regcache-lzo.c index 066aeece3626..854448d09293 100644 --- a/drivers/base/regmap/regcache-lzo.c +++ b/drivers/base/regmap/regcache-lzo.c | |||
@@ -351,7 +351,7 @@ static int regcache_lzo_sync(struct regmap *map) | |||
351 | } | 351 | } |
352 | 352 | ||
353 | struct regcache_ops regcache_lzo_ops = { | 353 | struct regcache_ops regcache_lzo_ops = { |
354 | .type = REGCACHE_LZO, | 354 | .type = REGCACHE_COMPRESSED, |
355 | .name = "lzo", | 355 | .name = "lzo", |
356 | .init = regcache_lzo_init, | 356 | .init = regcache_lzo_init, |
357 | .exit = regcache_lzo_exit, | 357 | .exit = regcache_lzo_exit, |
diff --git a/include/linux/regmap.h b/include/linux/regmap.h index 32043a9749e6..bebda1481f23 100644 --- a/include/linux/regmap.h +++ b/include/linux/regmap.h | |||
@@ -25,7 +25,7 @@ enum regcache_type { | |||
25 | REGCACHE_NONE, | 25 | REGCACHE_NONE, |
26 | REGCACHE_INDEXED, | 26 | REGCACHE_INDEXED, |
27 | REGCACHE_RBTREE, | 27 | REGCACHE_RBTREE, |
28 | REGCACHE_LZO | 28 | REGCACHE_COMPRESSED |
29 | }; | 29 | }; |
30 | 30 | ||
31 | /** | 31 | /** |