staging: ath6kl: Remove A_SUCCESS macro
authorJoe Perches <joe@perches.com>
Fri, 28 Jan 2011 04:04:20 +0000 (20:04 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 31 Jan 2011 21:53:11 +0000 (13:53 -0800)
commit509c9d973055e3d98c0d2aa2cb40c9139526fd74
tree0512699e6c58b2712bd1e2122ea68f6972b0f65a
parent1f4c34bded914e81b4388ccfdfab8a31da5ab0c3
staging: ath6kl: Remove A_SUCCESS macro

Remove obfuscating A_SUCCESS(foo) macro.
Just test for !foo instead.

Reformat a few macros that used A_SUCCESS for better readability.
Add do { foo } while (0) surrounds to those macros too.

Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Vipin Mehta <vipin.mehta@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/ath6kl/bmi/src/bmi.c
drivers/staging/ath6kl/hif/sdio/linux_sdio/src/hif.c
drivers/staging/ath6kl/htc2/AR6000/ar6k.c
drivers/staging/ath6kl/htc2/AR6000/ar6k.h
drivers/staging/ath6kl/htc2/AR6000/ar6k_events.c
drivers/staging/ath6kl/htc2/AR6000/ar6k_gmbox.c
drivers/staging/ath6kl/htc2/AR6000/ar6k_gmbox_hciuart.c
drivers/staging/ath6kl/htc2/htc_recv.c
drivers/staging/ath6kl/include/common/athdefs.h
drivers/staging/ath6kl/miscdrv/ar3kconfig.c
drivers/staging/ath6kl/os/linux/ar6000_drv.c