diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2025-01-29 17:28:22 +0200 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2025-03-14 08:59:05 +0000 |
commit | 9eb99c08508714906db078b5efbe075329a3fb06 (patch) | |
tree | bb1e2d158dd26eb4eaeffb7d6c1fe938ea76ff94 | |
parent | 2d8cb9ffe18c2f1e5bd07a19cbce85b26c1d0cf0 (diff) |
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 <andriy.shevchenko@linux.intel.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20250129152823.1802273-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Lee Jones <lee@kernel.org>
-rw-r--r-- | drivers/mfd/intel_soc_pmic_chtdc_ti.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mfd/intel_soc_pmic_chtdc_ti.c b/drivers/mfd/intel_soc_pmic_chtdc_ti.c index 8582ae65a802..4c1a68c9f575 100644 --- a/drivers/mfd/intel_soc_pmic_chtdc_ti.c +++ b/drivers/mfd/intel_soc_pmic_chtdc_ti.c @@ -82,7 +82,6 @@ static const struct regmap_config chtdc_ti_regmap_config = { .reg_bits = 8, .val_bits = 8, .max_register = 0xff, - .cache_type = REGCACHE_NONE, }; static const struct regmap_irq chtdc_ti_irqs[] = { |