TTY: amiserial, use module_platform_driver_probe()
authorJingoo Han <jg1.han@samsung.com>
Tue, 5 Mar 2013 03:29:20 +0000 (12:29 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Mar 2013 20:55:23 +0000 (13:55 -0700)
commitfec6bee367357d9dd3ab3a7c56293214e49c371c
tree0d9ab084c407f81890a144c690595033414e76e9
parent82b231323e419dcd61de9ff38d66dd7e82564594
TTY: amiserial, use module_platform_driver_probe()

This patch uses module_platform_driver_probe() macro which makes
the code smaller and simpler.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/amiserial.c