summaryrefslogtreecommitdiffstats
path: root/drivers/base/regmap
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-11-02 15:00:03 +0000
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-11-08 14:15:00 +0000
commit50b776fc71c13663eb7434f634f2b796de5c9885 (patch)
tree360e58b6b93e7142b9c02b7aa987a6c65e98f7a8 /drivers/base/regmap
parent8ae0d7e8a918e9603748abe9b31984fc5d96abb3 (diff)
downloadlinux-50b776fc71c13663eb7434f634f2b796de5c9885.tar.bz2
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>
Diffstat (limited to 'drivers/base/regmap')
-rw-r--r--drivers/base/regmap/regcache-lzo.c2
1 files changed, 1 insertions, 1 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)
}
struct regcache_ops regcache_lzo_ops = {
- .type = REGCACHE_LZO,
+ .type = REGCACHE_COMPRESSED,
.name = "lzo",
.init = regcache_lzo_init,
.exit = regcache_lzo_exit,