[quilt patches] Staging: rt28x0: more cleanups

From: Bartlomiej Zolnierkiewicz
Date: Sun Oct 25 2009 - 16:36:23 EST



Hi,

More cleanups:
- run all files through scripts/Lindent
- convert C++ style comments to C style
- remove typedefs

As a result those drivers start looking Linux-like and become easier
to comprehend, also as an added bonus another 1.5 KLOC are gone..

The downside is that it will be harder now to port over updates from
the original vendor source code than it was in the past..

As usual all changes were tested with RT2860 and RT3070.


Cause patches are too big for a mailing list they are available at:

http://www.kernel.org/pub/linux/kernel/people/bart/staging-rt28x0-more-cleanups/


diffstat:
drivers/staging/rt2860/ap.h | 88
drivers/staging/rt2860/chip/mac_pci.h | 262
drivers/staging/rt2860/chip/mac_usb.h | 558 -
drivers/staging/rt2860/chip/rt2860.h | 18
drivers/staging/rt2860/chip/rt2870.h | 9
drivers/staging/rt2860/chip/rt3070.h | 11
drivers/staging/rt2860/chip/rt3090.h | 22
drivers/staging/rt2860/chip/rt30xx.h | 9
drivers/staging/rt2860/chip/rtmp_mac.h | 3677 +++---
drivers/staging/rt2860/chip/rtmp_phy.h | 152
drivers/staging/rt2860/chips/rt3070.c | 164
drivers/staging/rt2860/chips/rt3090.c | 84
drivers/staging/rt2860/chips/rt30xx.c | 477
drivers/staging/rt2860/chlist.h | 109
drivers/staging/rt2860/common/action.c | 880 -
drivers/staging/rt2860/common/action.h | 51
drivers/staging/rt2860/common/ba_action.c | 2262 +---
drivers/staging/rt2860/common/cmm_aes.c | 1341 +-
drivers/staging/rt2860/common/cmm_asic.c | 3505 +++---
drivers/staging/rt2860/common/cmm_cfg.c | 294
drivers/staging/rt2860/common/cmm_data.c | 2955 ++---
drivers/staging/rt2860/common/cmm_data_pci.c | 1299 +-
drivers/staging/rt2860/common/cmm_data_usb.c | 1325 +-
drivers/staging/rt2860/common/cmm_info.c | 1492 +-
drivers/staging/rt2860/common/cmm_mac_pci.c | 2259 ++--
drivers/staging/rt2860/common/cmm_mac_usb.c | 1237 +-
drivers/staging/rt2860/common/cmm_sanity.c | 2184 +--
drivers/staging/rt2860/common/cmm_sync.c | 988 -
drivers/staging/rt2860/common/cmm_tkip.c | 991 -
drivers/staging/rt2860/common/cmm_wep.c | 336
drivers/staging/rt2860/common/cmm_wpa.c | 4380 +++----
drivers/staging/rt2860/common/crypt_hmac.c | 275
drivers/staging/rt2860/common/crypt_md5.c | 423
drivers/staging/rt2860/common/crypt_sha2.c | 321
drivers/staging/rt2860/common/dfs.c | 18
drivers/staging/rt2860/common/ee_efuse.c | 412
drivers/staging/rt2860/common/ee_prom.c | 179
drivers/staging/rt2860/common/eeprom.c | 72
drivers/staging/rt2860/common/firmware.h | 2
drivers/staging/rt2860/common/firmware_3070.h | 2
drivers/staging/rt2860/common/mlme.c | 8309 +++++++--------
drivers/staging/rt2860/common/rt_channel.c | 3515 +++---
drivers/staging/rt2860/common/rt_rf.c | 122
drivers/staging/rt2860/common/rtmp_init.c | 3882 +++----
drivers/staging/rt2860/common/rtmp_mcu.c | 266
drivers/staging/rt2860/common/rtmp_timer.c | 193
drivers/staging/rt2860/common/spectrum.c | 2491 ++--
drivers/staging/rt2860/crypt_hmac.h | 38
drivers/staging/rt2860/crypt_md5.h | 69
drivers/staging/rt2860/crypt_sha2.h | 68
drivers/staging/rt2860/dfs.h | 8
drivers/staging/rt2860/eeprom.h | 53
drivers/staging/rt2860/iface/rtmp_pci.h | 9
drivers/staging/rt2860/iface/rtmp_usb.h | 62
drivers/staging/rt2860/mlme.h | 2955 ++---
drivers/staging/rt2860/oid.h | 1844 +--
drivers/staging/rt2860/pci_main_dev.c | 1481 +-
drivers/staging/rt2860/rt2860sta.mod.c | 2
drivers/staging/rt2860/rt_config.h | 7
drivers/staging/rt2860/rt_linux.c | 1585 +-
drivers/staging/rt2860/rt_linux.h | 390
drivers/staging/rt2860/rt_main_dev.c | 663 -
drivers/staging/rt2860/rt_pci_rbus.c | 877 -
drivers/staging/rt2860/rt_usb.c | 925 -
drivers/staging/rt2860/rtmp.h |14345 +++++++++++---------------
drivers/staging/rt2860/rtmp_chip.h | 462
drivers/staging/rt2860/rtmp_ckipmic.h | 87
drivers/staging/rt2860/rtmp_def.h | 1234 +-
drivers/staging/rt2860/rtmp_dot11.h | 284
drivers/staging/rt2860/rtmp_iface.h | 85
drivers/staging/rt2860/rtmp_mcu.h | 34
drivers/staging/rt2860/rtmp_os.h | 72
drivers/staging/rt2860/rtmp_timer.h | 143
drivers/staging/rt2860/rtmp_type.h | 250
drivers/staging/rt2860/rtusb_io.h | 224
drivers/staging/rt2860/spectrum.h | 296
drivers/staging/rt2860/spectrum_def.h | 281
drivers/staging/rt2860/sta/assoc.c | 2179 ++-
drivers/staging/rt2860/sta/auth.c | 793 -
drivers/staging/rt2860/sta/auth_rsp.c | 172
drivers/staging/rt2860/sta/connect.c | 3486 +++---
drivers/staging/rt2860/sta/rtmp_data.c | 3534 +++---
drivers/staging/rt2860/sta/sanity.c | 687 -
drivers/staging/rt2860/sta/sync.c | 2844 ++---
drivers/staging/rt2860/sta/wpa.c | 458
drivers/staging/rt2860/sta_ioctl.c | 4061 +++----
drivers/staging/rt2860/usb_main_dev.c | 885 -
drivers/staging/rt2860/wpa.h | 709 -
drivers/staging/rt2870/common/rtusb_bulk.c | 1294 +-
drivers/staging/rt2870/common/rtusb_data.c | 261
drivers/staging/rt2870/common/rtusb_io.c | 2920 +++--
drivers/staging/rt3070/firmware.h | 2
drivers/staging/rt3070/md4.h | 12
drivers/staging/rt3090/firmware.h | 2
94 files changed, 52778 insertions(+), 54255 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/