commit | c5d09485def41cab9e75ba23abbf87080183183c | [log] [tgz] |
---|---|---|
author | Lucas Tanure <tanureal@opensource.cirrus.com> | Fri Oct 19 17:44:22 2018 +0100 |
committer | Mark Brown <broonie@kernel.org> | Sun Oct 21 12:04:38 2018 +0100 |
tree | ad6bb363220f7ebfeeadd0edea7a2d48be72a3e0 | |
parent | 318e741ee13b5a72f3051d9bb6852b1f4d02d0bb [diff] |
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>