.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * (c) Copyright 2002-2010, Ralink Technology, Inc. |
---|
3 | 4 | * Copyright (C) 2014 Felix Fietkau <nbd@openwrt.org> |
---|
4 | 5 | * Copyright (C) 2015 Jakub Kicinski <kubakici@wp.pl> |
---|
5 | | - * |
---|
6 | | - * This program is free software; you can redistribute it and/or modify |
---|
7 | | - * it under the terms of the GNU General Public License version 2 |
---|
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. |
---|
14 | 6 | */ |
---|
15 | 7 | |
---|
16 | 8 | #include "mt7601u.h" |
---|
.. | .. |
---|
795 | 787 | switch (phy_mode) { |
---|
796 | 788 | case MT_PHY_TYPE_OFDM: |
---|
797 | 789 | tx_rate += 4; |
---|
798 | | - /* fall through */ |
---|
| 790 | + fallthrough; |
---|
799 | 791 | case MT_PHY_TYPE_CCK: |
---|
800 | 792 | reg = dev->rf_pa_mode[0]; |
---|
801 | 793 | break; |
---|
.. | .. |
---|
1218 | 1210 | /** |
---|
1219 | 1211 | * mt7601u_set_tx_dac - set which tx DAC to use |
---|
1220 | 1212 | * @dev: pointer to adapter structure |
---|
1221 | | - * @path: DAC index, values are 0-based |
---|
| 1213 | + * @dac: DAC index, values are 0-based |
---|
1222 | 1214 | */ |
---|
1223 | 1215 | void mt7601u_set_tx_dac(struct mt7601u_dev *dev, u8 dac) |
---|
1224 | 1216 | { |
---|