Skip to content

Commit 06edb86

Browse files
andy-shevlag-linaro
authored andcommitted
mfd: intel_soc_pmic_crc: Drop unneeded assignment for cache_type
REGCACHE_NONE is the default type of the cache when not provided. Drop unneeded explicit assignment to it. Note, it's defined to 0, and if ever be redefined, it will break literally a lot of the drivers, so it very unlikely to happen. Signed-off-by: Andy Shevchenko <[email protected]> Reviewed-by: Hans de Goede <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Lee Jones <[email protected]>
1 parent 9eb99c0 commit 06edb86

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/mfd/intel_soc_pmic_crc.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@ static const struct regmap_config crystal_cove_regmap_config = {
113113
.val_bits = 8,
114114

115115
.max_register = CRYSTAL_COVE_MAX_REGISTER,
116-
.cache_type = REGCACHE_NONE,
117116
};
118117

119118
static const struct regmap_irq crystal_cove_irqs[] = {

0 commit comments

Comments
 (0)