rtlwifi: Convert RT_TRACE macro to use ##__VA_ARGS__
[cascardo/linux.git] / drivers / net / wireless / rtlwifi / regd.c
index 9fedb1f..c263df2 100644 (file)
@@ -398,13 +398,11 @@ int rtl_regd_init(struct ieee80211_hw *hw,
        rtlpriv->regd.country_code = rtlpriv->efuse.channel_plan;
 
        RT_TRACE(rtlpriv, COMP_REGD, DBG_TRACE,
-                (KERN_DEBUG "rtl: EEPROM regdomain: 0x%0x\n",
-                 rtlpriv->regd.country_code));
+                "rtl: EEPROM regdomain: 0x%0x\n", rtlpriv->regd.country_code);
 
        if (rtlpriv->regd.country_code >= COUNTRY_CODE_MAX) {
                RT_TRACE(rtlpriv, COMP_REGD, DBG_DMESG,
-                        (KERN_DEBUG "rtl: EEPROM indicates invalid contry code"
-                         "world wide 13 should be used\n"));
+                        "rtl: EEPROM indicates invalid contry code, world wide 13 should be used\n");
 
                rtlpriv->regd.country_code = COUNTRY_CODE_WORLD_WIDE_13;
        }
@@ -420,8 +418,8 @@ int rtl_regd_init(struct ieee80211_hw *hw,
        }
 
        RT_TRACE(rtlpriv, COMP_REGD, DBG_TRACE,
-                (KERN_DEBUG "rtl: Country alpha2 being used: %c%c\n",
-                 rtlpriv->regd.alpha2[0], rtlpriv->regd.alpha2[1]));
+                "rtl: Country alpha2 being used: %c%c\n",
+                rtlpriv->regd.alpha2[0], rtlpriv->regd.alpha2[1]);
 
        _rtl_regd_init_wiphy(&rtlpriv->regd, wiphy, reg_notifier);
 
@@ -433,7 +431,7 @@ int rtl_reg_notifier(struct wiphy *wiphy, struct regulatory_request *request)
        struct ieee80211_hw *hw = wiphy_to_ieee80211_hw(wiphy);
        struct rtl_priv *rtlpriv = rtl_priv(hw);
 
-       RT_TRACE(rtlpriv, COMP_REGD, DBG_LOUD, ("\n"));
+       RT_TRACE(rtlpriv, COMP_REGD, DBG_LOUD, "\n");
 
        return _rtl_reg_notifier_apply(wiphy, request, &rtlpriv->regd);
 }