tty: serial: amba-pl011: revise to use amba_rev macro
authorJongsung Kim <neidhard.kim@lge.com>
Fri, 10 May 2013 09:05:35 +0000 (18:05 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 May 2013 18:53:46 +0000 (11:53 -0700)
commitea33640a933e208301fea4fe7cbc6cc288e32cc6
treecfe523f59d8c5d3cfb813535f9df75f9edddbbea
parentcd97721a1b6bbf6eaa9ad050eb472c7f180bd0e0
tty: serial: amba-pl011: revise to use amba_rev macro

This patch replaces the ugly bit-operations with the convenient
amba_rev macro from the get_fifosize_arm function. The type of
get_fifosize member function is also slightly changed to take
a pointer to the amba_device.

Signed-off-by: Jongsung Kim <neidhard.kim@lge.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/amba-pl011.c