]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
TTY: serial: convert drivers/tty/serial/* to use module_platform_driver()
authorAxel Lin <axel.lin@gmail.com>
Mon, 28 Nov 2011 11:22:15 +0000 (19:22 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 30 Nov 2011 11:11:46 +0000 (20:11 +0900)
commitc8381c15b14b7c2d212c182d3b9b3fa7217994da
tree48ac78d7b1b965571a147ae44eabf2c95bb0b663
parent782ee87702fbd0a175da64a8e71e029b19ef97bf
TTY: serial: convert drivers/tty/serial/* to use module_platform_driver()

This patch converts the drivers in drivers/tty/serial/* to use the
module_platform_driver() macro which makes the code smaller and a bit
simpler.

Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Jamie Iles <jamie@jamieiles.com>
Cc: Yoichi Yuasa <yuasa@linux-mips.org>
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/tty/serial/8250_dw.c
drivers/tty/serial/sc26xx.c
drivers/tty/serial/timbuart.c
drivers/tty/serial/vr41xx_siu.c