tty: serial: bcm63xx: Eliminate unnecessary request/release functions
authorKevin Cernekee <cernekee@gmail.com>
Tue, 21 Oct 2014 22:23:03 +0000 (15:23 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Nov 2014 22:57:24 +0000 (14:57 -0800)
commite979f3b712c8b8ae44bab591427f1647dd25aa0d
tree731b223bffeb14bf3e9eb0dfae412d812e057fdf
parent1ab8e4b1acdf39ebe6002bbe07ef6e578cff5d74
tty: serial: bcm63xx: Eliminate unnecessary request/release functions

We don't really need to perform the ioremap "on demand" so it's simpler
just to do it from the probe function.  This also lets us eliminate the
UART_REG_SIZE constant and rely on the resource information passed in
from the DT or platform code.

Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/bcm63xx_uart.c
include/linux/serial_bcm63xx.h