[PATCH 5.15 169/279] NFC: reorder the logic in nfc_{un, }register_device