From: Quytelda Kahja Date: Sat, 31 Mar 2018 06:08:27 +0000 (-0700) Subject: staging: ks7010: Remove trailing _t from 'struct hostif_sleep_request_t'. X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=cee85e47b4df43e1b598feea298d1044a7ffac4a;p=openwrt%2Fstaging%2Fblogic.git staging: ks7010: Remove trailing _t from 'struct hostif_sleep_request_t'. 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c index 085e7cd7260b..19063ae09974 100644 --- a/drivers/staging/ks7010/ks_hostif.c +++ b/drivers/staging/ks7010/ks_hostif.c @@ -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); diff --git a/drivers/staging/ks7010/ks_hostif.h b/drivers/staging/ks7010/ks_hostif.h index 793c645316c3..56a983910787 100644 --- a/drivers/staging/ks7010/ks_hostif.h +++ b/drivers/staging/ks7010/ks_hostif.h @@ -424,7 +424,7 @@ enum sleep_mode_type { SLP_SLEEP }; -struct hostif_sleep_request_t { +struct hostif_sleep_request { struct hostif_hdr header; } __packed;