diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2013-07-30 07:51:37 +0800 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-07-31 15:00:01 +0100 |
commit | 70263cb474853c116f80713d468f3c17d805921c (patch) | |
tree | d92b3ea733464c520bf6d560f9e1b94096aabb95 /include/sound | |
parent | ae5c322303fff50b93d60e34c6563f1264a5941b (diff) | |
download | op-kernel-dev-70263cb474853c116f80713d468f3c17d805921c.zip op-kernel-dev-70263cb474853c116f80713d468f3c17d805921c.tar.gz |
ASoC: rcar: fix return value check in rsnd_gen1_probe()
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.
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'include/sound')
0 files changed, 0 insertions, 0 deletions