nfc: trf7970a: Use NULL when no response is expected

When a command's timeout is zero, no response is expected, and the TX
interrupt handler completes the command by passing ERR_PTR(0) to the
digital callback.

ERR_PTR(0) evaluates to NULL, so no errno is encoded here.  Use NULL
directly to avoid suggesting that this is an error-pointer path.

Signed-off-by: Linmao Li <lilinmao@kylinos.cn>
Link: https://patch.msgid.link/20260706075743.564658-1-lilinmao@kylinos.cn
Signed-off-by: David Heidelberg <david@ixit.cz>
This commit is contained in:
Linmao Li 2026-07-06 15:57:42 +08:00 • committed by David Heidelberg
commit 9efd35acb3
No known key found for this signature in database
GPG key ID: 60023FC4D3492072