Re: [alsa-devel] [PATCH -next] ASoC: rcar: fix return value check in rsnd_gen1_probe()
31 Jul
2013
31 Jul
'13
4 p.m.
On Tue, Jul 30, 2013 at 07:51:37AM +0800, Wei Yongjun wrote:
From: Wei Yongjun yongjun_wei@trendmicro.com.cn
In case of error, the function devm_ioremap_resource() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(), and also remove the dev_err call to avoid redundant error message.
Applied, thanks.
4162
Age (days ago)
4162
Last active (days ago)
0 comments
1 participants
participants (1)
-
Mark Brown