Skip to content
Commit ea33640a authored by Jongsung Kim's avatar Jongsung Kim Committed by Greg Kroah-Hartman
Browse files

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: default avatarJongsung Kim <neidhard.kim@lge.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent cd97721a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment