alistair23-linux/drivers/staging/rtl8188eu/core
Mamta Shukla 95f7ed6b7d staging: rtl8188eu: core: Use sizeof(*p) instead of sizeof(struct P) for memory allocation
Use sizeof(*ptr) instead of sizeof(ptr_type) makes memory
allocation easy in case the type of pointer changes.
Fix all checkpatch reported issues for "CHECK: Prefer
kzalloc(sizeof(*<p>)...) over kzalloc(sizeof(struct <P>)...)".

Signed-off-by: Mamta Shukla <mamtashukla555@gmail.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-10-19 21:10:45 +02:00
..
rtw_ap.c staging: rtl8188eu: remove code that is valid only for 5 GHz 2018-09-18 13:25:01 +02:00
rtw_cmd.c staging: rtl8188eu: core: Use sizeof(*p) instead of sizeof(struct P) for memory allocation 2018-10-19 21:10:45 +02:00
rtw_debug.c staging: rtl8188eu: remove code that is valid only for 5 GHz 2018-09-18 13:25:01 +02:00
rtw_efuse.c staging: rtl8188eu: cleanup comparsions to false 2018-10-15 16:30:39 +02:00
rtw_ieee80211.c staging: rtl8188eu: cleanup inconsistent indenting 2018-10-02 15:19:19 -07:00
rtw_ioctl_set.c staging: rtl8188eu: simplify function comments 2018-09-18 13:30:18 +02:00
rtw_iol.c staging: rtl8188eu: remove unnecessary parentheses 2018-08-05 16:23:28 +02:00
rtw_led.c staging: rtl8188eu: cleanup inconsistent indenting 2018-10-02 15:19:19 -07:00
rtw_mlme.c staging: rtl8188eu: cleanup comparsions to false 2018-10-15 16:30:39 +02:00
rtw_mlme_ext.c staging: rtl8188eu: change array type to const u8 2018-10-09 15:17:27 +02:00
rtw_pwrctrl.c staging: rtl8188eu: cleanup comparsions to false 2018-10-15 16:30:39 +02:00
rtw_recv.c staging: rtl8188eu: cleanup comparsions to false 2018-10-15 16:30:39 +02:00
rtw_rf.c staging: rtl8188eu: add SPDX identifiers 2018-06-26 11:58:22 +08:00
rtw_security.c staging: rtl8188eu: cleanup inconsistent indenting 2018-10-02 15:19:19 -07:00
rtw_sreset.c staging: rtl8188eu: remove unused sreset_get_wifi_status() 2018-07-29 10:08:02 +02:00
rtw_sta_mgt.c staging: rtl8188eu: remove whitespace, add missing blank line 2018-08-08 14:23:16 +02:00
rtw_wlan_util.c staging: rtl8188eu: cleanup comparsions to false 2018-10-15 16:30:39 +02:00
rtw_xmit.c staging: rtl8188eu: cleanup comparsions to false 2018-10-15 16:30:39 +02:00