Skip to content

Commit 9eb99c0

Browse files
andy-shevlag-linaro
authored andcommitted
mfd: intel_soc_pmic_chtdc_ti: 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 2d8cb9f commit 9eb99c0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/mfd/intel_soc_pmic_chtdc_ti.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ static const struct regmap_config chtdc_ti_regmap_config = {
8282
.reg_bits = 8,
8383
.val_bits = 8,
8484
.max_register = 0xff,
85-
.cache_type = REGCACHE_NONE,
8685
};
8786

8887
static const struct regmap_irq chtdc_ti_irqs[] = {

0 commit comments

Comments
 (0)