Wei Yongjun b03c29c1b1
ASoC: rt711: fix return value check in rt711_sdw_probe()
In case of error, the function devm_regmap_init() returns ERR_PTR() and
never returns NULL. The NULL test in the return value check should be
replaced with IS_ERR().

Fixes: 320b8b0d13b8 ("ASoC: rt711: add rt711 codec driver")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Link: https://lore.kernel.org/r/20200115143034.94492-1-weiyongjun1@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2020-01-17 15:31:07 +00:00
..
2019-10-01 12:16:01 +01:00
2018-02-27 10:41:34 +00:00
2019-10-25 11:06:57 +01:00
2020-01-07 22:29:38 +00:00
2020-01-14 15:49:03 +00:00
2020-01-14 15:49:03 +00:00
2020-01-14 15:49:03 +00:00
2020-01-09 13:25:18 +00:00
2018-04-26 12:44:15 +01:00
2019-10-21 13:52:22 +01:00
2019-06-12 13:52:26 +01:00
2019-06-12 13:52:26 +01:00
2020-01-10 13:31:49 +00:00
2020-01-09 21:22:36 +00:00
2020-01-13 14:58:45 +00:00
2019-07-26 13:10:09 +01:00
2018-05-18 11:20:11 +01:00
2019-06-26 12:39:34 +01:00
2019-06-26 12:39:34 +01:00
2019-01-07 16:53:10 +00:00
2018-06-01 12:05:30 +01:00
2019-12-25 18:19:42 +00:00
2019-12-16 11:47:28 +00:00
2019-10-02 12:50:40 +01:00