diff options
| author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2025-01-29 17:20:36 +0200 |
|---|---|---|
| committer | Guenter Roeck <linux@roeck-us.net> | 2025-02-02 17:34:06 -0800 |
| commit | 352a21d29092d16aef6905ecb8857c3876038b15 (patch) | |
| tree | db3dfc38ce39de3c9a6634123dcb6cdbbdbe4cc5 /drivers/hwmon/gsc-hwmon.c | |
| parent | 2014c95afecee3e76ca4a56956a936e23283f05b (diff) | |
hwmon: (gsc) 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>
Link: https://lore.kernel.org/r/20250129152036.1797725-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/gsc-hwmon.c')
| -rw-r--r-- | drivers/hwmon/gsc-hwmon.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/hwmon/gsc-hwmon.c b/drivers/hwmon/gsc-hwmon.c index 14a6385cd7cc..0f9af82cebec 100644 --- a/drivers/hwmon/gsc-hwmon.c +++ b/drivers/hwmon/gsc-hwmon.c @@ -47,7 +47,6 @@ static const struct regmap_bus gsc_hwmon_regmap_bus = { static const struct regmap_config gsc_hwmon_regmap_config = { .reg_bits = 8, .val_bits = 8, - .cache_type = REGCACHE_NONE, }; static ssize_t pwm_auto_point_temp_show(struct device *dev, |