staging: unisys: visorinput: Add module_driver driver registration
authorAlex Briskin <br.shurik@gmail.com>
Fri, 25 Aug 2017 16:25:06 +0000 (19:25 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Aug 2017 08:27:29 +0000 (10:27 +0200)
commitb21bb6d483a6973f8fd034e3aebcce42e64c3463
treea41fede76e0cb87720c3998f02e8665826b1e8bf
parent8eff21bcc6baa1303241ad4c0c8087de0f5022ae
staging: unisys: visorinput: Add module_driver driver registration

1. Remove module_init()/module_exit() macroes and
visorbus_register_visor_driver/visorbus_unregister_visor_driver
functions.
2. Replace with a short module_driver macro

Signed-off-by: Alex Briskin <br.shurik@gmail.com>
Acked-by: David Kershner <david.kershner@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorinput/visorinput.c