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

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

index 0cc14ac..53c9afc 100644 (file)
@@ -950,7 +950,7 @@ static int ks7010_sdio_probe(struct sdio_func *func,
 /* send stop request to MAC */
 static int send_stop_request(struct sdio_func *func)
 {
-       struct hostif_stop_request_t *pp;
+       struct hostif_stop_request *pp;
        struct ks_sdio_card *card;
        size_t size;
 
index 5effc51..b24fafd 100644 (file)
@@ -1426,7 +1426,7 @@ void hostif_adhoc_set2_request(struct ks_wlan_private *priv)
 static
 void hostif_stop_request(struct ks_wlan_private *priv)
 {
-       struct hostif_stop_request_t *pp;
+       struct hostif_stop_request *pp;
 
        pp = hostif_generic_request(sizeof(*pp), HIF_STOP_REQ);
        if (!pp)
index 6020ccb..39402e4 100644 (file)
@@ -298,7 +298,7 @@ struct link_ap_info {
 #define RESULT_CONNECT    0
 #define RESULT_DISCONNECT 1
 
-struct hostif_stop_request_t {
+struct hostif_stop_request {
        struct hostif_hdr header;
 } __packed;