mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 10:49:33 +00:00
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>
This commit is contained in:
parent
8ae0d7e8a9
commit
50b776fc71
2 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
|
@ -25,7 +25,7 @@ enum regcache_type {
|
|||
REGCACHE_NONE,
|
||||
REGCACHE_INDEXED,
|
||||
REGCACHE_RBTREE,
|
||||
REGCACHE_LZO
|
||||
REGCACHE_COMPRESSED
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue