[PATCH openEuler-1.0-LTS 5/7] NFC: reorder the logic in nfc_{un,}register_device