serial: max310x: Register UART driver at module_init
authorAlexander Shiyan <shc_work@mail.ru>
Tue, 7 Jun 2016 15:59:24 +0000 (18:59 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 25 Jun 2016 20:55:35 +0000 (13:55 -0700)
commit6286767ad3afc886ec6473409aa02191cb54f97b
treeb08a02fd88184bebcd45c224f95ae25ed7971e9c
parent0e8cc7c2ea025b96b4ed57b52c61f2d982a95ddb
serial: max310x: Register UART driver at module_init

This patch moves UART registration at module_init initcall,
so this should helps to add multiple chip support in the future.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/max310x.c