serial: pch_uart: use offset_in_page() macro
authorGeliang Tang <geliangtang@gmail.com>
Sat, 22 Apr 2017 01:21:11 +0000 (09:21 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 May 2017 14:34:55 +0000 (16:34 +0200)
commitd1e06a4392d0e65f92d3e8c7020061aaeceed502
treef754f4219374aa2220af312102497dba4fa01cf5
parent2b5cf14bd0c82164eb3689dd4cfb67a78a23302c
serial: pch_uart: use offset_in_page() macro

Use offset_in_page() macro instead of open-coding.

Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/pch_uart.c