Skip to content

Commit

Permalink
regmap: Rename LZO cache type to compressed
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mark Brown committed Nov 8, 2011
1 parent 8ae0d7e commit 50b776f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/base/regmap/regcache-lzo.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion include/linux/regmap.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ enum regcache_type {
REGCACHE_NONE,
REGCACHE_INDEXED,
REGCACHE_RBTREE,
REGCACHE_LZO
REGCACHE_COMPRESSED
};

/**
Expand Down

0 comments on commit 50b776f

Please sign in to comment.