[PATCH openEuler-5.10 102/146] NFC: reorder the logic in nfc_{un,}register_device