Fix the problem of dereferencing a NULL pointer

The pointer st33spi will be dereferenced after it was positively
checked for NULL, isolate the condition st33spi == NULL and return
errno ENODEV

Bug: 205943658
Bug: 205950808
Bug: 205950761
Test: Manual
Change-Id: I23642ef8a8261de11aa58e5c9ff2e30476062009
1 file changed
tree: edc12200ac01a8978d8db4f7eb5766146267ec91
  1. ese/
  2. BUILD.bazel
  3. Kconfig
  4. Makefile
  5. st21nfc.c
  6. st21nfc.h