[PATCH 4.19 300/323] NFC: reorder the logic in nfc_{un, }register_device