staging: gdm72xx: clean up endianness conversions
authorBen Chan <benchan@chromium.org>
Tue, 1 Jul 2014 06:32:27 +0000 (23:32 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Jul 2014 18:49:16 +0000 (11:49 -0700)
commita8a175d9fc2ddb513baf5f043c1e9de512f886f7
tree6ad60b4b0527226717ed8090fea1444c719eded9
parentbbd500d8cdb071e7964fc07ab988817d719e1578
staging: gdm72xx: clean up endianness conversions

This patch cleans up the endianness conversions in the gdm72xx driver:
- Directly use the generic byte-reordering macros for endianness
  conversion instead of some custom-defined macros.
- Convert values on the constant side instead of the variable side when
  appropriate.
- Add endianness annotations.

Signed-off-by: Ben Chan <benchan@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gdm72xx/gdm_qos.c
drivers/staging/gdm72xx/gdm_sdio.c
drivers/staging/gdm72xx/gdm_usb.c
drivers/staging/gdm72xx/gdm_wimax.c
drivers/staging/gdm72xx/gdm_wimax.h
drivers/staging/gdm72xx/hci.h
drivers/staging/gdm72xx/usb_boot.c