[alsa-devel] [PATCH] ASoC: wm2000: Remove wm2000_read helper function
Charles Keepax
ckeepax at opensource.cirrus.com
Sun Oct 21 09:31:06 CEST 2018
On Fri, Oct 19, 2018 at 05:44:22PM +0100, Lucas Tanure wrote:
> 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 at opensource.cirrus.com>
> ---
Acked-by: Charles Keepax <ckeepax at opensource.cirrus.com>
Thanks,
Charles
More information about the Alsa-devel
mailing list