tty/serial: atmel: use offset_in_page() macro
authorGeliang Tang <geliangtang@gmail.com>
Sat, 29 Apr 2017 01:39:00 +0000 (09:39 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 May 2017 14:34:55 +0000 (16:34 +0200)
commit2b5cf14bd0c82164eb3689dd4cfb67a78a23302c
tree662085223cb8d49409227c8ce645907b3fc62d31
parent228a9ff8fed0c800ffb9b665916646b1d5833a67
tty/serial: atmel: use offset_in_page() macro

Use offset_in_page() macro instead of open-coding.

Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Acked-by: Richard Genoud <richard.genoud@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/atmel_serial.c