regmap: Rename LZO cache type to compressed
Subsystems (2)
PATCH 1/1 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 <[email protected]>
--- drivers/base/regmap/regcache-lzo.c | 2 +- include/linux/regmap.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/base/regmap/regcache-lzo.c +1 -1
@@ -354,7 +354,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,
include/linux/regmap.h +1 -1
@@ -25,7 +25,7 @@ enum regcache_type {REGCACHE_NONE ,REGCACHE_INDEXED ,REGCACHE_RBTREE , - REGCACHE_LZO + REGCACHE_COMPRESSED };/**
Signature · 1 line
1.7.7.1