]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
staging: ks7010: Remove trailing _t from 'struct local_gain_t'.
authorQuytelda Kahja <quytelda@tamalin.org>
Sat, 31 Mar 2018 06:08:36 +0000 (23:08 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 23 Apr 2018 12:18:56 +0000 (14:18 +0200)
The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct local_gain_t' with 'struct local_gain'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks_wlan.h

index 57b21d3a24354b36343635a387b61164a77db125..e6c4a0fece54ace8478258a99926e4c3fb1f2ff3 100644 (file)
@@ -249,7 +249,7 @@ struct local_aplist {
        struct local_ap ap[LOCAL_APLIST_MAX + 1];
 };
 
-struct local_gain_t {
+struct local_gain {
        u8 tx_mode;
        u8 rx_mode;
        u8 tx_gain;
@@ -471,7 +471,7 @@ struct ks_wlan_private {
 
        u8 scan_ssid_len;
        u8 scan_ssid[IW_ESSID_MAX_SIZE + 1];
-       struct local_gain_t gain;
+       struct local_gain gain;
 #ifdef WPS
        struct net_device *l2_dev;
        int l2_fd;