Commit 50b776fc authored by Mark Brown's avatar Mark Brown

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: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 8ae0d7e8
...@@ -351,7 +351,7 @@ static int regcache_lzo_sync(struct regmap *map) ...@@ -351,7 +351,7 @@ static int regcache_lzo_sync(struct regmap *map)
} }
struct regcache_ops regcache_lzo_ops = { struct regcache_ops regcache_lzo_ops = {
.type = REGCACHE_LZO, .type = REGCACHE_COMPRESSED,
.name = "lzo", .name = "lzo",
.init = regcache_lzo_init, .init = regcache_lzo_init,
.exit = regcache_lzo_exit, .exit = regcache_lzo_exit,
......
...@@ -25,7 +25,7 @@ enum regcache_type { ...@@ -25,7 +25,7 @@ enum regcache_type {
REGCACHE_NONE, REGCACHE_NONE,
REGCACHE_INDEXED, REGCACHE_INDEXED,
REGCACHE_RBTREE, REGCACHE_RBTREE,
REGCACHE_LZO REGCACHE_COMPRESSED
}; };
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment