| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> |
|---|
| 3 | 4 | Copyright (C) 2004 - 2009 Felix Fietkau <nbd@openwrt.org> |
|---|
| 4 | 5 | <http://rt2x00.serialmonkey.com> |
|---|
| 5 | 6 | |
|---|
| 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/>. |
|---|
| 18 | 7 | */ |
|---|
| 19 | 8 | |
|---|
| 20 | 9 | /* |
|---|
| .. | .. |
|---|
| 141 | 130 | struct ieee80211_hw *hw = platform_get_drvdata(pdev); |
|---|
| 142 | 131 | struct rt2x00_dev *rt2x00dev = hw->priv; |
|---|
| 143 | 132 | |
|---|
| 144 | | - return rt2x00lib_suspend(rt2x00dev, state); |
|---|
| 133 | + return rt2x00lib_suspend(rt2x00dev); |
|---|
| 145 | 134 | } |
|---|
| 146 | 135 | EXPORT_SYMBOL_GPL(rt2x00soc_suspend); |
|---|
| 147 | 136 | |
|---|