diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2020-05-27 06:02:10 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-05-27 16:48:56 +0300 |
commit | 185457632ba344d3100e6bdd8ba839b959521813 (patch) | |
tree | d98a69bd4547ddc201317a732135a391265ff123 /drivers/ata/sata_uli.c | |
parent | 850ba84b5c6d4ad4d1259584ebc0338eb769f2ef (diff) | |
download | linux-185457632ba344d3100e6bdd8ba839b959521813.tar.xz |
ASoC: mmp-sspa: Fix return value check in asoc_mmp_sspa_probe()
In case of error, the function devm_ioremap() returns NULL pointer not
ERR_PTR(). The IS_ERR() test in the return value check should be
replaced with NULL test.
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Link: https://lore.kernel.org/r/20200527030210.124393-1-weiyongjun1@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/ata/sata_uli.c')
0 files changed, 0 insertions, 0 deletions