kunit: use NULL macros
authorRicardo Ribalda <ribalda@chromium.org>
Fri, 11 Feb 2022 16:42:42 +0000 (17:42 +0100)
committerShuah Khan <skhan@linuxfoundation.org>
Mon, 4 Apr 2022 20:29:08 +0000 (14:29 -0600)
commitde82c15dc0a2d007b0aa02b832eef926d7135eb7
tree1835b65d914f400b3489d66a02006e191a5d077a
parentcaae9458db3aef14b96921cf02c6093340350c4a
kunit: use NULL macros

Replace the NULL checks with the more specific and idiomatic NULL macros.

Reviewed-by: Brendan Higgins <brendanhiggins@google.com>
Reviewed-by: Daniel Latypov <dlatypov@google.com>
Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
lib/kunit/kunit-example-test.c
lib/kunit/kunit-test.c