forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/drivers/net/wireless/ralink/rt2x00/rt2x00soc.c
....@@ -1,20 +1,9 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com>
34 Copyright (C) 2004 - 2009 Felix Fietkau <nbd@openwrt.org>
45 <http://rt2x00.serialmonkey.com>
56
6
- This program is free software; you can redistribute it and/or modify
7
- it under the terms of the GNU General Public License as published by
8
- the Free Software Foundation; either version 2 of the License, or
9
- (at your option) any later version.
10
-
11
- This program is distributed in the hope that it will be useful,
12
- but WITHOUT ANY WARRANTY; without even the implied warranty of
13
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
- GNU General Public License for more details.
15
-
16
- You should have received a copy of the GNU General Public License
17
- along with this program; if not, see <http://www.gnu.org/licenses/>.
187 */
198
209 /*
....@@ -141,7 +130,7 @@
141130 struct ieee80211_hw *hw = platform_get_drvdata(pdev);
142131 struct rt2x00_dev *rt2x00dev = hw->priv;
143132
144
- return rt2x00lib_suspend(rt2x00dev, state);
133
+ return rt2x00lib_suspend(rt2x00dev);
145134 }
146135 EXPORT_SYMBOL_GPL(rt2x00soc_suspend);
147136