* Re: [PATCH] ASoC: wm2000: Remove wm2000_read helper function
[not found] <20181019164422.26234-1-tanureal@opensource.cirrus.com>
@ 2018-10-21 7:31 ` Charles Keepax
0 siblings, 0 replies; only message in thread
From: Charles Keepax @ 2018-10-21 7:31 UTC (permalink / raw)
To: Lucas Tanure; +Cc: patches, alsa-devel, Mark Brown, Liam Girdwood
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@opensource.cirrus.com>
> ---
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Thanks,
Charles
^ permalink raw reply [flat|nested] only message in thread