diff options
| author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2025-10-13 19:07:43 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-10-19 16:23:20 +0200 |
| commit | 2221d66d3285ae72a560b0b14e79150d1412af66 (patch) | |
| tree | 3757fe53b148e185c8c08e350ba8087b13a33c84 | |
| parent | 4c42c69e421137920af076c88a233e230b776e2d (diff) | |
| download | linux-2221d66d3285ae72a560b0b14e79150d1412af66.tar.gz linux-2221d66d3285ae72a560b0b14e79150d1412af66.tar.bz2 linux-2221d66d3285ae72a560b0b14e79150d1412af66.zip | |
mfd: intel_soc_pmic_chtdc_ti: Drop unneeded assignment for cache_type
[ Upstream commit 9eb99c08508714906db078b5efbe075329a3fb06 ]
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>
Stable-dep-of: 64e0d839c589 ("mfd: intel_soc_pmic_chtdc_ti: Set use_single_read regmap_config flag")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.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 0387d7b843e7..4027dc3d995f 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[] = { |
