staging: wfx: format code on 100 columns
authorJérôme Pouiller <jerome.pouiller@silabs.com>
Fri, 25 Feb 2022 11:23:59 +0000 (12:23 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Feb 2022 13:00:28 +0000 (14:00 +0100)
A few lines were not yet formatted on 100 columns.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Link: https://lore.kernel.org/r/20220225112405.355599-5-Jerome.Pouiller@silabs.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wfx/fwio.c
drivers/staging/wfx/hif_rx.c
drivers/staging/wfx/hif_tx.c
drivers/staging/wfx/hif_tx_mib.c
drivers/staging/wfx/hwio.c
drivers/staging/wfx/sta.c
drivers/staging/wfx/sta.h

index 9005a6fe48c88aab35d460005e5c2439f5f37b5f..3d1b8a135dc07603f54483bb18551cd962d16c27 100644 (file)
@@ -192,8 +192,7 @@ static int upload_firmware(struct wfx_dev *wdev, const u8 *data, size_t len)
                                return ret;
                }
                if (ktime_compare(now, start))
-                       dev_dbg(wdev->dev, "answer after %lldus\n",
-                               ktime_us_delta(now, start));
+                       dev_dbg(wdev->dev, "answer after %lldus\n", ktime_us_delta(now, start));
 
                ret = wfx_sram_write_dma_safe(wdev, WFX_DNLD_FIFO + (offs % DNLD_FIFO_SIZE),
                                              data + offs, DNLD_BLOCK_SIZE);
index 302bdb2bf03680be2fc867c6318bfa0a30a7c37c..64ca8acb8e4f2b1cb989cc559679d70467c4ef70 100644 (file)
@@ -244,8 +244,7 @@ static int wfx_hif_generic_indication(struct wfx_dev *wdev,
                mutex_unlock(&wdev->tx_power_loop_info_lock);
                return 0;
        default:
-               dev_err(wdev->dev, "generic_indication: unknown indication type: %#.8x\n",
-                       type);
+               dev_err(wdev->dev, "generic_indication: unknown indication type: %#.8x\n", type);
                return -EIO;
        }
 }
index ea2582714bb932092775d46f3601345d48d0650c..236f9d62e3a95498e72bbf651d79ae1fc33d1aff 100644 (file)
@@ -169,8 +169,7 @@ int wfx_hif_reset(struct wfx_vif *wvif, bool reset_stat)
        return ret;
 }
 
-int wfx_hif_read_mib(struct wfx_dev *wdev, int vif_id, u16 mib_id,
-                    void *val, size_t val_len)
+int wfx_hif_read_mib(struct wfx_dev *wdev, int vif_id, u16 mib_id, void *val, size_t val_len)
 {
        int ret;
        struct wfx_hif_msg *hif;
index 1c57dd2b697c472f5b6e00cfbf42592c71f334c5..df1bcb1e2c0267fe7f8829c2385019f581b102ff 100644 (file)
@@ -84,8 +84,7 @@ int wfx_hif_set_macaddr(struct wfx_vif *wvif, u8 *mac)
                                 &arg, sizeof(arg));
 }
 
-int wfx_hif_set_rx_filter(struct wfx_vif *wvif,
-                         bool filter_bssid, bool filter_prbreq)
+int wfx_hif_set_rx_filter(struct wfx_vif *wvif, bool filter_bssid, bool filter_prbreq)
 {
        struct wfx_hif_mib_rx_filter arg = { };
 
index c15810bdaecbcdaca23726a5d032b3d40205f861..3f9750b470bef0f34ca97a580ec7b5197c4d7c5d 100644 (file)
@@ -71,8 +71,7 @@ static int wfx_write32_locked(struct wfx_dev *wdev, int reg, u32 val)
        return ret;
 }
 
-static int wfx_write32_bits_locked(struct wfx_dev *wdev,
-                                  int reg, u32 mask, u32 val)
+static int wfx_write32_bits_locked(struct wfx_dev *wdev, int reg, u32 mask, u32 val)
 {
        int ret;
        u32 val_r, val_w;
@@ -94,8 +93,7 @@ err:
        return ret;
 }
 
-static int wfx_indirect_read(struct wfx_dev *wdev, int reg, u32 addr,
-                            void *buf, size_t len)
+static int wfx_indirect_read(struct wfx_dev *wdev, int reg, u32 addr, void *buf, size_t len)
 {
        int ret;
        int i;
@@ -199,8 +197,7 @@ static int wfx_indirect_read32_locked(struct wfx_dev *wdev, int reg, u32 addr, u
        return ret;
 }
 
-static int wfx_indirect_write32_locked(struct wfx_dev *wdev, int reg,
-                                      u32 addr, u32 val)
+static int wfx_indirect_write32_locked(struct wfx_dev *wdev, int reg, u32 addr, u32 val)
 {
        int ret;
        __le32 *tmp = kmalloc(sizeof(u32), GFP_KERNEL);
index ba53e4d70c4f88f71117a6962065ddc4d29103ff..28474614a8e506e8f9c179ddc6446072e74218c4 100644 (file)
@@ -432,8 +432,7 @@ static void wfx_join(struct wfx_vif *wvif)
        wfx_tx_unlock(wvif->wdev);
 }
 
-static void wfx_join_finalize(struct wfx_vif *wvif,
-                             struct ieee80211_bss_conf *info)
+static void wfx_join_finalize(struct wfx_vif *wvif, struct ieee80211_bss_conf *info)
 {
        struct ieee80211_sta *sta = NULL;
        int ampdu_density = 0;
@@ -539,8 +538,8 @@ void wfx_bss_info_changed(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
                wfx_enable_beacon(wvif, info->enable_beacon);
 
        if (changed & BSS_CHANGED_KEEP_ALIVE)
-               wfx_hif_keep_alive_period(wvif, info->max_idle_period *
-                                               USEC_PER_TU / USEC_PER_MSEC);
+               wfx_hif_keep_alive_period(wvif,
+                                         info->max_idle_period * USEC_PER_TU / USEC_PER_MSEC);
 
        if (changed & BSS_CHANGED_ERP_CTS_PROT)
                wfx_hif_erp_use_protection(wvif, info->use_cts_prot);
index 082329d7bbcd4f1923ea2734720612edcdf57b50..c69b2227e9ac89026b1cccb637fdac904ad1e1e1 100644 (file)
@@ -46,8 +46,7 @@ int wfx_ampdu_action(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
                     struct ieee80211_ampdu_params *params);
 int wfx_add_chanctx(struct ieee80211_hw *hw, struct ieee80211_chanctx_conf *conf);
 void wfx_remove_chanctx(struct ieee80211_hw *hw, struct ieee80211_chanctx_conf *conf);
-void wfx_change_chanctx(struct ieee80211_hw *hw, struct ieee80211_chanctx_conf *conf,
-                       u32 changed);
+void wfx_change_chanctx(struct ieee80211_hw *hw, struct ieee80211_chanctx_conf *conf, u32 changed);
 int wfx_assign_vif_chanctx(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
                           struct ieee80211_chanctx_conf *conf);
 void wfx_unassign_vif_chanctx(struct ieee80211_hw *hw, struct ieee80211_vif *vif,