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

ASoC: ad193x: Drop .volatile_reg implementation

adau193x_reg_volatile() always return false.
This seems pointless because current code uses REGCACHE_NONE cache_type
which is supposed to be volatile.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Axel Lin and committed by
Mark Brown
92b822a4 355b27e1

-6
-6
sound/soc/codecs/ad193x.c
··· 418 418 .num_dapm_routes = ARRAY_SIZE(audio_paths), 419 419 }; 420 420 421 - static bool adau193x_reg_volatile(struct device *dev, unsigned int reg) 422 - { 423 - return false; 424 - } 425 - 426 421 const struct regmap_config ad193x_regmap_config = { 427 422 .max_register = AD193X_NUM_REGS - 1, 428 - .volatile_reg = adau193x_reg_volatile, 429 423 }; 430 424 EXPORT_SYMBOL_GPL(ad193x_regmap_config); 431 425