diff options
| author | Tang Bin <tangbin@cmss.chinamobile.com> | 2020-04-27 17:11:45 +0800 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2020-04-27 14:08:40 +0100 |
| commit | e782ddbb0873d4d96bda890b295130696e0739fc (patch) | |
| tree | defe3aaf4f956f2a4427b1bc13de23d2f4f65a16 /net/lapb/lapb_in.c | |
| parent | b8d3ad51dfec3631763cfef3d30c16f40140058b (diff) | |
ASoC: hisilicon: Use IS_ERR() instead of IS_ERR_OR_NULL()
In the function hi6210_i2s_probe(), devm_clk_get() doesn't return NULL.
Thus use IS_ERR() to validate the return value instead of IS_ERR_OR_NULL().
Signed-off-by: Zhang Shengju <zhangshengju@cmss.chinamobile.com>
Signed-off-by: Tang Bin <tangbin@cmss.chinamobile.com>
Link: https://lore.kernel.org/r/20200427091145.4268-1-tangbin@cmss.chinamobile.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions
