diff options
author | John Daiker <daikerjohn@gmail.com> | 2009-02-24 05:16:42 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-02-27 14:53:04 -0500 |
commit | 99da185a72ba685a5aaf49dff6a5fe83885112e4 (patch) | |
tree | 28a45135872ca5cb0b4f4e37967d361f408231c3 /drivers/net/wireless/b43/main.c | |
parent | ddcb5c78e8dcb470caec2049c2f400651f1710e4 (diff) |
b43: checkpatch.pl cleanups
Keeping this one simple.
Changing a few "foo * bar" to "foo *bar"
Removes 22 checkpatch.pl errors, with no introduced warnings.
Signed-off-by: John Daiker <daikerjohn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43/main.c')
-rw-r--r-- | drivers/net/wireless/b43/main.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/drivers/net/wireless/b43/main.c b/drivers/net/wireless/b43/main.c index 6d52bae4932e..8e1126d99f4c 100644 --- a/drivers/net/wireless/b43/main.c +++ b/drivers/net/wireless/b43/main.c | |||
@@ -512,7 +512,7 @@ void b43_shm_write16(struct b43_wldev *dev, u16 routing, u16 offset, u16 value) | |||
512 | } | 512 | } |
513 | 513 | ||
514 | /* Read HostFlags */ | 514 | /* Read HostFlags */ |
515 | u64 b43_hf_read(struct b43_wldev * dev) | 515 | u64 b43_hf_read(struct b43_wldev *dev) |
516 | { | 516 | { |
517 | u64 ret; | 517 | u64 ret; |
518 | 518 | ||
@@ -600,7 +600,7 @@ void b43_tsf_write(struct b43_wldev *dev, u64 tsf) | |||
600 | } | 600 | } |
601 | 601 | ||
602 | static | 602 | static |
603 | void b43_macfilter_set(struct b43_wldev *dev, u16 offset, const u8 * mac) | 603 | void b43_macfilter_set(struct b43_wldev *dev, u16 offset, const u8 *mac) |
604 | { | 604 | { |
605 | static const u8 zero_addr[ETH_ALEN] = { 0 }; | 605 | static const u8 zero_addr[ETH_ALEN] = { 0 }; |
606 | u16 data; | 606 | u16 data; |
@@ -790,7 +790,7 @@ void b43_dummy_transmission(struct b43_wldev *dev) | |||
790 | } | 790 | } |
791 | 791 | ||
792 | static void key_write(struct b43_wldev *dev, | 792 | static void key_write(struct b43_wldev *dev, |
793 | u8 index, u8 algorithm, const u8 * key) | 793 | u8 index, u8 algorithm, const u8 *key) |
794 | { | 794 | { |
795 | unsigned int i; | 795 | unsigned int i; |
796 | u32 offset; | 796 | u32 offset; |
@@ -812,7 +812,7 @@ static void key_write(struct b43_wldev *dev, | |||
812 | } | 812 | } |
813 | } | 813 | } |
814 | 814 | ||
815 | static void keymac_write(struct b43_wldev *dev, u8 index, const u8 * addr) | 815 | static void keymac_write(struct b43_wldev *dev, u8 index, const u8 *addr) |
816 | { | 816 | { |
817 | u32 addrtmp[2] = { 0, 0, }; | 817 | u32 addrtmp[2] = { 0, 0, }; |
818 | u8 per_sta_keys_start = 8; | 818 | u8 per_sta_keys_start = 8; |
@@ -862,7 +862,7 @@ static void keymac_write(struct b43_wldev *dev, u8 index, const u8 * addr) | |||
862 | 862 | ||
863 | static void do_key_write(struct b43_wldev *dev, | 863 | static void do_key_write(struct b43_wldev *dev, |
864 | u8 index, u8 algorithm, | 864 | u8 index, u8 algorithm, |
865 | const u8 * key, size_t key_len, const u8 * mac_addr) | 865 | const u8 *key, size_t key_len, const u8 *mac_addr) |
866 | { | 866 | { |
867 | u8 buf[B43_SEC_KEYSIZE] = { 0, }; | 867 | u8 buf[B43_SEC_KEYSIZE] = { 0, }; |
868 | u8 per_sta_keys_start = 8; | 868 | u8 per_sta_keys_start = 8; |
@@ -886,8 +886,8 @@ static void do_key_write(struct b43_wldev *dev, | |||
886 | 886 | ||
887 | static int b43_key_write(struct b43_wldev *dev, | 887 | static int b43_key_write(struct b43_wldev *dev, |
888 | int index, u8 algorithm, | 888 | int index, u8 algorithm, |
889 | const u8 * key, size_t key_len, | 889 | const u8 *key, size_t key_len, |
890 | const u8 * mac_addr, | 890 | const u8 *mac_addr, |
891 | struct ieee80211_key_conf *keyconf) | 891 | struct ieee80211_key_conf *keyconf) |
892 | { | 892 | { |
893 | int i; | 893 | int i; |
@@ -1286,7 +1286,7 @@ static void handle_irq_pmq(struct b43_wldev *dev) | |||
1286 | } | 1286 | } |
1287 | 1287 | ||
1288 | static void b43_write_template_common(struct b43_wldev *dev, | 1288 | static void b43_write_template_common(struct b43_wldev *dev, |
1289 | const u8 * data, u16 size, | 1289 | const u8 *data, u16 size, |
1290 | u16 ram_offset, | 1290 | u16 ram_offset, |
1291 | u16 shm_size_offset, u8 rate) | 1291 | u16 shm_size_offset, u8 rate) |
1292 | { | 1292 | { |
@@ -1476,9 +1476,9 @@ static void b43_write_probe_resp_plcp(struct b43_wldev *dev, | |||
1476 | * 2) Patching duration field | 1476 | * 2) Patching duration field |
1477 | * 3) Stripping TIM | 1477 | * 3) Stripping TIM |
1478 | */ | 1478 | */ |
1479 | static const u8 * b43_generate_probe_resp(struct b43_wldev *dev, | 1479 | static const u8 *b43_generate_probe_resp(struct b43_wldev *dev, |
1480 | u16 *dest_size, | 1480 | u16 *dest_size, |
1481 | struct ieee80211_rate *rate) | 1481 | struct ieee80211_rate *rate) |
1482 | { | 1482 | { |
1483 | const u8 *src_data; | 1483 | const u8 *src_data; |
1484 | u8 *dest_data; | 1484 | u8 *dest_data; |
@@ -2980,7 +2980,7 @@ static void b43_security_init(struct b43_wldev *dev) | |||
2980 | b43_clear_keys(dev); | 2980 | b43_clear_keys(dev); |
2981 | } | 2981 | } |
2982 | 2982 | ||
2983 | static int b43_rng_read(struct hwrng *rng, u32 * data) | 2983 | static int b43_rng_read(struct hwrng *rng, u32 *data) |
2984 | { | 2984 | { |
2985 | struct b43_wl *wl = (struct b43_wl *)rng->priv; | 2985 | struct b43_wl *wl = (struct b43_wl *)rng->priv; |
2986 | unsigned long flags; | 2986 | unsigned long flags; |
@@ -3311,7 +3311,7 @@ static void b43_put_phy_into_reset(struct b43_wldev *dev) | |||
3311 | msleep(1); | 3311 | msleep(1); |
3312 | } | 3312 | } |
3313 | 3313 | ||
3314 | static const char * band_to_string(enum ieee80211_band band) | 3314 | static const char *band_to_string(enum ieee80211_band band) |
3315 | { | 3315 | { |
3316 | switch (band) { | 3316 | switch (band) { |
3317 | case IEEE80211_BAND_5GHZ: | 3317 | case IEEE80211_BAND_5GHZ: |