staging: ks7010: Remove trailing _t from 'struct hostif_power_mgmt_request_t'.
authorQuytelda Kahja <quytelda@tamalin.org>
Sat, 31 Mar 2018 06:07:53 +0000 (23:07 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 23 Apr 2018 12:15:19 +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_power_mgmt_request_t' with 'struct
hostif_power_mgmt_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 b0209d5..f22356f 100644 (file)
@@ -1464,7 +1464,7 @@ void hostif_power_mgmt_request(struct ks_wlan_private *priv,
                               unsigned long mode, unsigned long wake_up,
                               unsigned long receive_dtims)
 {
-       struct hostif_power_mgmt_request_t *pp;
+       struct hostif_power_mgmt_request *pp;
 
        pp = hostif_generic_request(sizeof(*pp), HIF_POWER_MGMT_REQ);
        if (!pp)
index 3c426b8..e51c38d 100644 (file)
@@ -168,7 +168,7 @@ struct hostif_mib_set_request_t {
        struct hostif_mib_value mib_value;
 } __packed;
 
-struct hostif_power_mgmt_request_t {
+struct hostif_power_mgmt_request {
        struct hostif_hdr header;
        __le32 mode;
 #define POWER_ACTIVE  1