ASoC: wm8741: Drop misleading readable_reg callback implementation
authorAxel Lin <axel.lin@ingics.com>
Fri, 14 Aug 2015 09:58:01 +0000 (17:58 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 18 Aug 2015 16:32:55 +0000 (09:32 -0700)
commit84eac6196c4b3930fc81f9bcd76c4a1a2161fd34
tree72040379c163491c6a9ac77ec6415e929f41bb12
parent6f55a041378f8688ab4afd2702416cd5318fa73d
ASoC: wm8741: Drop misleading readable_reg callback implementation

regmap_readable() returns false if map->format.format_write is set.
For .reg_bits = 7, .val_bits = 9, setting,
  map->format.format_write = regmap_format_7_9_write;

Even current code has implemented map->readable_reg, regmap_readable()
still returns false anyway. Thus drop the misleading readable_reg callback
implementation.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm8741.c