hc
2023-12-06 08f87f769b595151be1afeff53e144f543faa614
kernel/drivers/nfc/pn544/pn544.c
....@@ -1,19 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * HCI based Driver for NXP PN544 NFC Chip
34 *
45 * Copyright (C) 2012 Intel Corporation. All rights reserved.
5
- *
6
- * This program is free software; you can redistribute it and/or modify it
7
- * under the terms and conditions of the GNU General Public License,
8
- * version 2, as published by the Free Software Foundation.
9
- *
10
- * This program is distributed in the hope that it will be useful,
11
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- * GNU General Public License for more details.
14
- *
15
- * You should have received a copy of the GNU General Public License
16
- * along with this program; if not, see <http://www.gnu.org/licenses/>.
176 */
187
198 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
....@@ -693,7 +682,7 @@
693682 static int pn544_hci_check_presence(struct nfc_hci_dev *hdev,
694683 struct nfc_target *target)
695684 {
696
- pr_debug("supported protocol %d\b", target->supported_protocols);
685
+ pr_debug("supported protocol %d\n", target->supported_protocols);
697686 if (target->supported_protocols & (NFC_PROTO_ISO14443_MASK |
698687 NFC_PROTO_ISO14443_B_MASK)) {
699688 return nfc_hci_send_cmd(hdev, target->hci_reader_gate,