linux/drivers/staging/rtl8712
Shraddha Barke eef6c808d3 Staging: rtl8712: Use ARRAY_SIZE macro
ARRAY_SIZE is more concise to use when the size of an array is divided
by the size of its type

Changes made using Coccinelle-

@@
type T;
T[] E;
@@

- (sizeof(E)/sizeof(T))
+ ARRAY_SIZE(E)

Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-10-12 20:43:20 -07:00
..
basic_types.h
drv_types.h Staging: rtl8712: drv_types.h:Coding style warnings fix for block comments 2015-10-08 10:34:46 +01:00
ethernet.h
hal_init.c staging: rtl8712: Remove NULL comparison 2015-10-08 10:25:32 +01:00
ieee80211.c Staging: rtl8712: ieee80211.c: Coding style warnings fix for block comments 2015-10-08 10:34:50 +01:00
ieee80211.h Staging: rtl8712: ieee80211.h: Coding style warnings fix for block comments 2015-10-08 10:34:50 +01:00
Kconfig
Makefile
mlme_linux.c Staging: rtl8712: Coding style warning fix for block comment 2015-09-20 19:16:13 -07:00
mlme_osdep.h
mp_custom_oid.h
os_intfs.c Staging: rtl8712: os_intfs.c : Coding style warning fix for block comment 2015-10-08 10:34:50 +01:00
osdep_intf.h
osdep_service.h staging/rtl8712 : Remove duplicated BIT() definitions 2015-09-12 18:24:56 -07:00
recv_linux.c Staging: rtl8712: recv_linux.c: Coding style warning fix for block comment 2015-10-08 10:34:50 +01:00
recv_osdep.h staging: rtl8712: recv_linux: Remove unused function 2015-01-25 19:59:18 +08:00
rtl871x_cmd.c staging: rtl8712: rename function 2015-08-07 15:14:03 -07:00
rtl871x_cmd.h staging: rtl8712: removed unused wrapper structs 2015-08-07 15:14:03 -07:00
rtl871x_debug.h
rtl871x_eeprom.c staging: rtl8712: rewrite the right hand side of an assignment 2015-02-26 15:23:47 -08:00
rtl871x_eeprom.h
rtl871x_event.h staging: rtl8712: remove duplicate struct 2015-08-07 15:14:03 -07:00
rtl871x_ht.h
rtl871x_io.c
rtl871x_io.h
rtl871x_ioctl.h staging: rtl8712: Remove unnecessary externs 2015-08-14 18:51:56 -07:00
rtl871x_ioctl_linux.c staging: rtl8712: Move constant to right of test or replace with "!" 2015-10-08 10:25:32 +01:00
rtl871x_ioctl_rtl.c
rtl871x_ioctl_rtl.h
rtl871x_ioctl_set.c Staging: rtl8712: Remove duplicated argument to | 2015-04-01 17:26:58 +02:00
rtl871x_ioctl_set.h
rtl871x_led.h
rtl871x_mlme.c staging: rtl8712: remove dead code 2015-09-29 04:30:07 +02:00
rtl871x_mlme.h staging: rtl8712: rename function 2015-08-07 15:14:03 -07:00
rtl871x_mp.c staging: rtl8712: remove extra parentheses around right bit shift operation 2015-03-06 15:22:43 -08:00
rtl871x_mp.h
rtl871x_mp_ioctl.c staging: rtl8712: rename function 2015-08-07 15:14:03 -07:00
rtl871x_mp_ioctl.h
rtl871x_mp_phy_regdef.h Staging: fixed multiple spelling errors. 2015-05-08 09:23:58 +02:00
rtl871x_pwrctrl.c staging: rtl8712: fix stack dump 2015-05-31 11:49:57 +09:00
rtl871x_pwrctrl.h staging: rtl8712: remove spaces before commas 2015-01-17 14:20:25 -08:00
rtl871x_recv.c staing: rtl8712: else after return or break warning 2015-02-26 15:08:36 -08:00
rtl871x_recv.h
rtl871x_rf.h
rtl871x_security.c staging: rtl8712: rtl871x_security.c: remove unnecessary variable initialization 2015-07-14 19:54:37 -07:00
rtl871x_security.h Staging: rtl8712: Eliminate use of _init_timer 2015-03-06 09:54:34 -08:00
rtl871x_sta_mgt.c staging:rtl8712:Fix compressed return statement 2015-06-08 13:38:56 -07:00
rtl871x_wlan_sme.h
rtl871x_xmit.c Staging: rtl8712: Eliminate use of _cancel_timer 2015-03-16 15:46:07 +01:00
rtl871x_xmit.h
rtl8712_bitdef.h
rtl8712_cmd.c Staging: rtl8712: rtl8712_cmd.c: Coding style warnings fix for block comments 2015-10-08 10:34:50 +01:00
rtl8712_cmd.h staging: rtl8712: remove spaces before commas 2015-01-17 14:20:25 -08:00
rtl8712_cmdctrl_bitdef.h Staging: rtl8712: rtl8712_cmdctrl_bitdef.h: Coding style warning fix for block comment 2015-10-08 10:34:50 +01:00
rtl8712_cmdctrl_regdef.h
rtl8712_debugctrl_bitdef.h
rtl8712_debugctrl_regdef.h
rtl8712_edcasetting_bitdef.h
rtl8712_edcasetting_regdef.h
rtl8712_efuse.c
rtl8712_efuse.h
rtl8712_event.h staging: rtl8712: remove spaces before commas 2015-01-17 14:20:25 -08:00
rtl8712_fifoctrl_bitdef.h
rtl8712_fifoctrl_regdef.h
rtl8712_gp_bitdef.h Staging: rtl8712: rtl8712_gp_bitdef.h: Coding style warning fix for block comment 2015-10-08 10:34:50 +01:00
rtl8712_gp_regdef.h
rtl8712_hal.h Staging: rtl8712: rtl8712_hal.h: Coding style warnings fix for block comments 2015-10-08 10:34:50 +01:00
rtl8712_interrupt_bitdef.h
rtl8712_io.c
rtl8712_led.c staging: rtl8712: fix stack dump 2015-05-31 11:49:57 +09:00
rtl8712_macsetting_bitdef.h
rtl8712_macsetting_regdef.h
rtl8712_powersave_bitdef.h
rtl8712_powersave_regdef.h
rtl8712_ratectrl_bitdef.h
rtl8712_ratectrl_regdef.h
rtl8712_recv.c rtl8712:Fix checkpatch warning 2015-07-14 19:54:37 -07:00
rtl8712_recv.h
rtl8712_regdef.h
rtl8712_security_bitdef.h
rtl8712_spec.h
rtl8712_syscfg_bitdef.h
rtl8712_syscfg_regdef.h
rtl8712_timectrl_bitdef.h
rtl8712_timectrl_regdef.h
rtl8712_wmac_bitdef.h
rtl8712_wmac_regdef.h
rtl8712_xmit.c staging: rtl8712: use swap() in dequeue_xframe_ex() 2015-06-12 17:19:47 -07:00
rtl8712_xmit.h
sta_info.h staging: rtl8712: remove spaces before commas 2015-01-17 14:20:25 -08:00
TODO
usb_halinit.c
usb_intf.c Staging: rtl8712: Use ARRAY_SIZE macro 2015-10-12 20:43:20 -07:00
usb_ops.c
usb_ops.h
usb_ops_linux.c staging: rtl8712: usb_ops_linux: fixed a comparison coding style issue 2015-09-14 08:50:44 -07:00
usb_osintf.h
wifi.h staging/rtl8712 : Remove duplicated BIT() definitions 2015-09-12 18:24:56 -07:00
wlan_bssdef.h staging: rtl8712: change SupportedRates to rates 2015-08-07 15:14:04 -07:00
xmit_linux.c staging: rtl8712: Drop unneeded cast on netdev_priv 2015-04-03 15:15:40 +02:00
xmit_osdep.h