Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <andriy.shevchenko@linux.intel.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20250129152828.1802315-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Lee Jones <lee@kernel.org>

authored by

Andy Shevchenko and committed by
Lee Jones
06edb863 9eb99c08

-1
-1
drivers/mfd/intel_soc_pmic_crc.c
··· 113 113 .val_bits = 8, 114 114 115 115 .max_register = CRYSTAL_COVE_MAX_REGISTER, 116 - .cache_type = REGCACHE_NONE, 117 116 }; 118 117 119 118 static const struct regmap_irq crystal_cove_irqs[] = {