tty: max3100: use module_spi_driver
authorDevendra Naga <develkernel412222@gmail.com>
Thu, 23 Aug 2012 22:04:42 +0000 (03:34 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Sep 2012 19:33:39 +0000 (12:33 -0700)
commitc0fc208e487a985c4d083c498fecf791e6e965b7
treea85040bdf208952fa763f4357b64f6f20945aa8e
parent1c4c4394a6040b7bd2154e848cd9ab536b6ab0dd
tty: max3100: use module_spi_driver

the driver's module init and exit functions can be replaced
with module_spi_driver as they do
only spi_register_driver and spi_unregister_driver in module's init and exit
paths.

Signed-off-by: Devendra Naga <develkernel412222@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/max3100.c