Kernel macros used, unnecessary macro removed, some checkpatch fixes performed and other changes added. --- Changes in v2: - patch 21 subject corrected. - patch 15 (staging: rtl8188eu: BITn macro replaced by BIT(n) in hal/bb_cfg.c) removed. It is no longer relevant. - min replaced by mit_t in 4 and 5 patch. Ivan Safonov (20): staging: rtl8188eu: sizeof/sizeof replaced by ARRAY_SIZE kernel macro staging: rtl8188eu: clamp kernel macro used in proc_get_rx_signal staging: rtl8188eu: ternary operator (?:) replaced by min/max kernel macro staging: rtl8188eu: ternary operator (?:) replaced by min_t kernel macro staging: rtl8188eu: ternary operator (?:) replaced by min_t kernel macro staging: rtl8188eu: abs kernel macro used in simularity_compare function staging: rtl8188eu: unused SUCCESS and FAIL macros removed staging: rtl8188eu: unused MEM_ALIGNMENT_OFFSET and MEM_ALIGNMENT_PADDING macros removed staging: rtl8188eu: unused MIN macro removed staging: rtl8188eu: while loop replaced by for loop in rtw_restruct_wmm_ie staging: rtl8188eu: increment placed into for loop header staging: rtl8188eu: occurrence of the 5 GHz code marked staging: rtl8188eu: operator = replaced by += in loop increment staging: rtl8188eu: checkpatch fixes: spaces preferred around that '|' in hal/bb_cfg.c staging: rtl8188eu: checkpatch fixes: unnecessary parentheses removed in hal/bb_cfg.c staging: rtl8188eu: checkpatch fixes: alignment should match open parenthesis staging: rtl8188eu: checkpatch fixes: line over 80 characters splited into two parts staging: rtl8188eu: checkpatch fixes: 'Avoid CamelCase' in hal/bb_cfg.c staging: rtl8188eu: new variable for hal_data->MCSTxPowerLevelOriginalOffset[pwrGrpCnt] in store_pwrindex_offset function staging: rtl8188eu: pwrGrpCnt variable removed in store_pwrindex_offset function drivers/staging/rtl8188eu/core/rtw_ap.c | 2 +- drivers/staging/rtl8188eu/core/rtw_debug.c | 3 +- drivers/staging/rtl8188eu/core/rtw_efuse.c | 2 +- drivers/staging/rtl8188eu/core/rtw_ieee80211.c | 2 +- drivers/staging/rtl8188eu/core/rtw_mlme.c | 5 +- drivers/staging/rtl8188eu/core/rtw_mlme_ext.c | 9 ++- drivers/staging/rtl8188eu/core/rtw_recv.c | 6 +- drivers/staging/rtl8188eu/core/rtw_wlan_util.c | 4 +- drivers/staging/rtl8188eu/hal/bb_cfg.c | 69 ++++++++++++----------- drivers/staging/rtl8188eu/hal/mac_cfg.c | 4 +- drivers/staging/rtl8188eu/hal/odm_HWConfig.c | 2 +- drivers/staging/rtl8188eu/hal/odm_RTL8188E.c | 6 +- drivers/staging/rtl8188eu/hal/phy.c | 2 +- drivers/staging/rtl8188eu/hal/rf_cfg.c | 2 +- drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c | 2 +- drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c | 3 + drivers/staging/rtl8188eu/include/basic_types.h | 6 -- drivers/staging/rtl8188eu/include/rtw_security.h | 3 - drivers/staging/rtl8188eu/os_dep/ioctl_linux.c | 28 ++++----- drivers/staging/rtl8188eu/os_dep/mlme_linux.c | 5 +- drivers/staging/rtl8188eu/os_dep/xmit_linux.c | 2 +- 21 files changed, 80 insertions(+), 87 deletions(-) -- 2.4.10 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel