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

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Andy Shevchenko and committed by
Lee Jones
9eb99c08 2d8cb9ff

-1
-1
drivers/mfd/intel_soc_pmic_chtdc_ti.c
··· 82 82 .reg_bits = 8, 83 83 .val_bits = 8, 84 84 .max_register = 0xff, 85 - .cache_type = REGCACHE_NONE, 86 85 }; 87 86 88 87 static const struct regmap_irq chtdc_ti_irqs[] = {