aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/sunxi/sun4i-i2s.c
diff options
context:
space:
mode:
authorLucas Tanure <tanureal@opensource.cirrus.com>2018-10-19 17:44:22 +0100
committerMark Brown <broonie@kernel.org>2018-10-21 12:04:38 +0100
commitc5d09485def41cab9e75ba23abbf87080183183c (patch)
treead6bb363220f7ebfeeadd0edea7a2d48be72a3e0 /sound/soc/sunxi/sun4i-i2s.c
parentASoC: cs42l51: fix mclk support (diff)
downloadlinux-dev-c5d09485def41cab9e75ba23abbf87080183183c.tar.xz
linux-dev-c5d09485def41cab9e75ba23abbf87080183183c.zip
ASoC: wm2000: Remove wm2000_read helper function
The return type "unsigned int" was used by the wm2000_read() function despite of the aspect that it will eventually return a negative error code. The resulting function doesn't add much to the code, so replace wm2000_read with regmap_read. Signed-off-by: Lucas Tanure <tanureal@opensource.cirrus.com> Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sunxi/sun4i-i2s.c')
0 files changed, 0 insertions, 0 deletions