tty: serial: altera_uart: Use platform_{get,set}_drvdata
authorTobias Klauser <tklauser@distanz.ch>
Mon, 20 Aug 2012 13:56:34 +0000 (15:56 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Sep 2012 19:33:39 +0000 (12:33 -0700)
commit1a16afa2cecd36bc4b6ba00fe4c83fcf5ca6e710
tree03c048e8f06891f3de2ac9556727aa83c32922e0
parentc0fc208e487a985c4d083c498fecf791e6e965b7
tty: serial: altera_uart: Use platform_{get,set}_drvdata

Use the wrapper functions, so we can directly pass a struct
platfrom_device.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/altera_uart.c