summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/wm8350-irq.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2011-02-09 10:57:04 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2011-02-17 11:31:58 -0800
commit2780ad42f5fe6739882603c61c8decba6e50eaa2 (patch)
tree65d26144ecd8319d5d9243770d034ee4f1ba33ab /drivers/mfd/wm8350-irq.c
parente96fabd8791aad30a3c8a03919893ae3e2e3df25 (diff)
tty: serial: altera_uart: Use port->regshift to store bus shift
Use the regshift member of struct uart_port to store the address stride from platform data. This way we can save one dereference per call of altera_uart_readl and altera_uart_writel. This also allows us to use the driver without platform data, which is needed for device tree support in the Nios2 port. Acked-by: Anton Vorontsov <cbouatmailru@gmail.com> Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/mfd/wm8350-irq.c')
0 files changed, 0 insertions, 0 deletions