Skip to content

Commit 1e2bae6

Browse files
committed
regmap: Removed compressed cache support
The compressed register cache support has assumptions that make it hard to cover in testing, mainly that it requires raw registers defaults be provided. Rather than either address these assumptions or leave it untested by the forthcoming KUnit tests let's remove it, the use case is quite thin and there are no current users. Signed-off-by: Mark Brown <broonie@kernel.org> Link: https://lore.kernel.org/r/20230324-regcache-lzo-v1-1-08c5d63e2a5e@kernel.org
1 parent f18ee50 commit 1e2bae6

6 files changed

Lines changed: 0 additions & 379 deletions

File tree

drivers/base/regmap/Kconfig

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,6 @@ config REGMAP
99
select MDIO_BUS if REGMAP_MDIO
1010
bool
1111

12-
config REGCACHE_COMPRESSED
13-
select LZO_COMPRESS
14-
select LZO_DECOMPRESS
15-
bool
16-
1712
config REGMAP_AC97
1813
tristate
1914

drivers/base/regmap/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ CFLAGS_regmap.o := -I$(src)
44

55
obj-$(CONFIG_REGMAP) += regmap.o regcache.o
66
obj-$(CONFIG_REGMAP) += regcache-rbtree.o regcache-flat.o
7-
obj-$(CONFIG_REGCACHE_COMPRESSED) += regcache-lzo.o
87
obj-$(CONFIG_DEBUG_FS) += regmap-debugfs.o
98
obj-$(CONFIG_REGMAP_AC97) += regmap-ac97.o
109
obj-$(CONFIG_REGMAP_I2C) += regmap-i2c.o

drivers/base/regmap/internal.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,6 @@ enum regmap_endian regmap_get_val_endian(struct device *dev,
281281
const struct regmap_config *config);
282282

283283
extern struct regcache_ops regcache_rbtree_ops;
284-
extern struct regcache_ops regcache_lzo_ops;
285284
extern struct regcache_ops regcache_flat_ops;
286285

287286
static inline const char *regmap_name(const struct regmap *map)

drivers/base/regmap/regcache-lzo.c

Lines changed: 0 additions & 368 deletions
This file was deleted.

0 commit comments

Comments
 (0)