diff options
| author | Dan Carpenter <dan.carpenter@linaro.org> | 2025-11-25 16:55:28 +0300 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2025-11-25 15:17:46 +0000 |
| commit | 80339b3823bb76d383c82186b55ac836fed3f586 (patch) | |
| tree | b719d7241ad33961800f7327d6c54baf09e185ce /net/unix/af_unix.c | |
| parent | a13744f628c61a450f650442a118405242ac0db0 (diff) | |
ASoC: SDCA: Fix NULL vs IS_ERR() bug in sdca_dev_register_functions()
The sdca_dev_register() function never returns NULL, it returns error
pointers on error. Fix the error checking to match.
Fixes: 4496d1c65bad ("ASoC: SDCA: add function devices")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://patch.msgid.link/aSW1UOgMCiQIaZG8@stanley.mountain
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions