.. | .. |
---|
1 | | -/****************************************************************************** |
---|
2 | | - * |
---|
3 | | - * Copyright(c) 2009-2012 Realtek Corporation. |
---|
4 | | - * |
---|
5 | | - * This program is free software; you can redistribute it and/or modify it |
---|
6 | | - * under the terms of version 2 of the GNU General Public License as |
---|
7 | | - * published by the Free Software Foundation. |
---|
8 | | - * |
---|
9 | | - * This program is distributed in the hope that it will be useful, but WITHOUT |
---|
10 | | - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
---|
11 | | - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for |
---|
12 | | - * more details. |
---|
13 | | - * |
---|
14 | | - * The full GNU General Public License is included in this distribution in the |
---|
15 | | - * file called LICENSE. |
---|
16 | | - * |
---|
17 | | - * Contact Information: |
---|
18 | | - * wlanfae <wlanfae@realtek.com> |
---|
19 | | - * Realtek Corporation, No. 2, Innovation Road II, Hsinchu Science Park, |
---|
20 | | - * Hsinchu 300, Taiwan. |
---|
21 | | - * |
---|
22 | | - * Larry Finger <Larry.Finger@lwfinger.net> |
---|
23 | | - * |
---|
24 | | - *****************************************************************************/ |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0 |
---|
| 2 | +/* Copyright(c) 2009-2012 Realtek Corporation.*/ |
---|
25 | 3 | |
---|
26 | 4 | #include "../wifi.h" |
---|
27 | 5 | #include "../pci.h" |
---|
.. | .. |
---|
49 | 27 | u8 ledcfg; |
---|
50 | 28 | struct rtl_priv *rtlpriv = rtl_priv(hw); |
---|
51 | 29 | |
---|
52 | | - RT_TRACE(rtlpriv, COMP_LED, DBG_LOUD, "LedAddr:%X ledpin=%d\n", |
---|
53 | | - LEDCFG, pled->ledpin); |
---|
| 30 | + rtl_dbg(rtlpriv, COMP_LED, DBG_LOUD, "LedAddr:%X ledpin=%d\n", |
---|
| 31 | + LEDCFG, pled->ledpin); |
---|
54 | 32 | |
---|
55 | 33 | ledcfg = rtl_read_byte(rtlpriv, LEDCFG); |
---|
56 | 34 | |
---|
.. | .. |
---|
79 | 57 | rtlpriv = rtl_priv(hw); |
---|
80 | 58 | if (!rtlpriv || rtlpriv->max_fw_size) |
---|
81 | 59 | return; |
---|
82 | | - RT_TRACE(rtlpriv, COMP_LED, DBG_LOUD, "LedAddr:%X ledpin=%d\n", |
---|
83 | | - LEDCFG, pled->ledpin); |
---|
| 60 | + rtl_dbg(rtlpriv, COMP_LED, DBG_LOUD, "LedAddr:%X ledpin=%d\n", |
---|
| 61 | + LEDCFG, pled->ledpin); |
---|
84 | 62 | |
---|
85 | 63 | ledcfg = rtl_read_byte(rtlpriv, LEDCFG); |
---|
86 | 64 | |
---|
.. | .. |
---|
141 | 119 | ledaction == LED_CTL_POWER_ON)) { |
---|
142 | 120 | return; |
---|
143 | 121 | } |
---|
144 | | - RT_TRACE(rtlpriv, COMP_LED, DBG_LOUD, "ledaction %d\n", ledaction); |
---|
| 122 | + rtl_dbg(rtlpriv, COMP_LED, DBG_LOUD, "ledaction %d\n", ledaction); |
---|
145 | 123 | |
---|
146 | 124 | _rtl92se_sw_led_control(hw, ledaction); |
---|
147 | 125 | } |
---|