]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
staging: ks7010: Remove trailing _t from 'struct hostif_sleep_request_t'.
authorQuytelda Kahja <quytelda@tamalin.org>
Sat, 31 Mar 2018 06:08:27 +0000 (23:08 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 23 Apr 2018 12:16:49 +0000 (14:16 +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_sleep_request_t' with 'struct
hostif_sleep_request'.

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

index 085e7cd7260b0be09eafc916d20284be3957e932..19063ae099744f6113fb006cddb16f58159bb292 100644 (file)
@@ -1483,7 +1483,7 @@ static
 void hostif_sleep_request(struct ks_wlan_private *priv,
                          enum sleep_mode_type mode)
 {
-       struct hostif_sleep_request_t *pp;
+       struct hostif_sleep_request *pp;
 
        if (mode == SLP_SLEEP) {
                pp = hostif_generic_request(sizeof(*pp), HIF_SLEEP_REQ);
index 793c645316c3141a0ffa56b6cff22f7b169fc4c1..56a9839107871605594e5acf24a4844d753996ca 100644 (file)
@@ -424,7 +424,7 @@ enum sleep_mode_type {
        SLP_SLEEP
 };
 
-struct hostif_sleep_request_t {
+struct hostif_sleep_request {
        struct hostif_hdr header;
 } __packed;