[PATCH 6.1 138/170] nfcsim.c: Fix error checking for debugfs_create_dir