forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/drivers/net/can/cc770/cc770.c
....@@ -1,16 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Core driver for the CC770 and AN82527 CAN controllers
34 *
45 * Copyright (C) 2009, 2011 Wolfgang Grandegger <wg@grandegger.com>
5
- *
6
- * This program is free software; you can redistribute it and/or modify
7
- * it under the terms of the version 2 of the GNU General Public License
8
- * 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.
146 */
157
168 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
....@@ -546,7 +538,7 @@
546538 priv->can.can_stats.error_warning++;
547539 }
548540 } else {
549
- /* Back to error avtive */
541
+ /* Back to error active */
550542 cf->can_id |= CAN_ERR_PROT;
551543 cf->data[2] = CAN_ERR_PROT_ACTIVE;
552544 priv->can.state = CAN_STATE_ERROR_ACTIVE;