[PATCH 4.14 230/251] NFC: reorder the logic in nfc_{un, }register_device