summaryrefslogtreecommitdiff
path: root/include/linux/serial_bcm63xx.h
diff options
context:
space:
mode:
authorKevin Cernekee <cernekee@gmail.com>2014-10-21 15:23:03 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-11-06 14:57:24 -0800
commite979f3b712c8b8ae44bab591427f1647dd25aa0d (patch)
tree731b223bffeb14bf3e9eb0dfae412d812e057fdf /include/linux/serial_bcm63xx.h
parent1ab8e4b1acdf39ebe6002bbe07ef6e578cff5d74 (diff)
downloadlwn-e979f3b712c8b8ae44bab591427f1647dd25aa0d.tar.gz
lwn-e979f3b712c8b8ae44bab591427f1647dd25aa0d.zip
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>
Diffstat (limited to 'include/linux/serial_bcm63xx.h')
-rw-r--r--include/linux/serial_bcm63xx.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/serial_bcm63xx.h b/include/linux/serial_bcm63xx.h
index a80aa1a5bee2..570e964dc899 100644
--- a/include/linux/serial_bcm63xx.h
+++ b/include/linux/serial_bcm63xx.h
@@ -116,6 +116,4 @@
UART_FIFO_PARERR_MASK | \
UART_FIFO_BRKDET_MASK)
-#define UART_REG_SIZE 24
-
#endif /* _LINUX_SERIAL_BCM63XX_H */