staging: ks7010: Remove trailing _t from 'struct channel_list_t'.
authorQuytelda Kahja <quytelda@tamalin.org>
Sat, 31 Mar 2018 06:07:47 +0000 (23:07 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 23 Apr 2018 12:15:15 +0000 (14:15 +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 channel_list_t' with 'struct channel_list'.

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

index fb789fd..c2c1b70 100644 (file)
@@ -81,7 +81,7 @@ struct hostif_data_request {
 #define TYPE_GMK2 0x0003
 
 #define CHANNEL_LIST_MAX_SIZE 14
-struct channel_list_t {
+struct channel_list {
        u8 size;
        u8 body[CHANNEL_LIST_MAX_SIZE];
        u8 pad;
@@ -378,7 +378,7 @@ struct hostif_infrastructure_set_request_t {
        struct ssid_t ssid;
        __le16 beacon_lost_count;
        __le16 auth_type;
-       struct channel_list_t channel_list;
+       struct channel_list channel_list;
        u8 bssid[ETH_ALEN];
 } __packed;
 
@@ -413,7 +413,7 @@ struct hostif_adhoc_set2_request_t {
        struct hostif_request_t request;
        __le16 reserved;
        struct ssid_t ssid;
-       struct channel_list_t channel_list;
+       struct channel_list channel_list;
        u8 bssid[ETH_ALEN];
 } __packed;
 
@@ -461,7 +461,7 @@ struct hostif_bss_scan_request_t {
        u8 pad[3];
        __le32 ch_time_min;
        __le32 ch_time_max;
-       struct channel_list_t channel_list;
+       struct channel_list channel_list;
        struct ssid_t ssid;
 } __packed;