.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * I2C Link Layer for ST NCI NFC controller familly based Driver |
---|
3 | 4 | * Copyright (C) 2014-2015 STMicroelectronics SAS. All rights reserved. |
---|
4 | | - * |
---|
5 | | - * This program is free software; you can redistribute it and/or modify it |
---|
6 | | - * under the terms and conditions of the GNU General Public License, |
---|
7 | | - * version 2, as published by the Free Software Foundation. |
---|
8 | | - * |
---|
9 | | - * This program is distributed in the hope that it will be useful, |
---|
10 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
11 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
12 | | - * GNU General Public License for more details. |
---|
13 | | - * |
---|
14 | | - * You should have received a copy of the GNU General Public License |
---|
15 | | - * along with this program; if not, see <http://www.gnu.org/licenses/>. |
---|
16 | 5 | */ |
---|
17 | 6 | |
---|
18 | 7 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
---|
.. | .. |
---|
83 | 72 | */ |
---|
84 | 73 | static int st_nci_i2c_write(void *phy_id, struct sk_buff *skb) |
---|
85 | 74 | { |
---|
86 | | - int r = -1; |
---|
| 75 | + int r; |
---|
87 | 76 | struct st_nci_i2c_phy *phy = phy_id; |
---|
88 | 77 | struct i2c_client *client = phy->i2c_dev; |
---|
89 | 78 | |
---|