staging: rtl8192u: fix macros in r8192U.h
authorXenia Ragiadakou <burzalodowa@gmail.com>
Sun, 9 Jun 2013 11:38:43 +0000 (14:38 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 12 Jun 2013 00:18:04 +0000 (17:18 -0700)
commit4a8d1135548bafe2566ceaa5032981ce6999a86c
tree9c0dbadfc0f6a1357f11e0d593fdce3609c8df8a
parent631edcdc459eaa72117303b20a392d0413e7c56a
staging: rtl8192u: fix macros in r8192U.h

This patch fixes the macros in r8192U.h.
More specifically:

1) removes the ';' from the end of the macro definition
   and changes according the files that are affected by
   this change by adding ';' at the end of the macro call
2) replaces printk with pr_debug, when applicable
3) replaces __FUNCTION__ with __func__
4) fixes the framing when the macro contains complex expressions
5) renames macro 'assert' as 'RTL9192U_ASSERT', so that it
   cannot be confused with the c function assert(), and changes
   accordingly the files affected by this change

Signed-off-by: Xenia Ragiadakou <burzalodowa@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/r8192U.h
drivers/staging/rtl8192u/r8192U_core.c
drivers/staging/rtl8192u/r819xU_phy.c