video/matrox/matroxfb_maven: Use module_i2c_driver to register driver
authorPeter Huewe <peterhuewe@gmx.de>
Fri, 13 Sep 2013 19:51:50 +0000 (21:51 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 19 Sep 2013 10:30:10 +0000 (13:30 +0300)
commit93f571728f236dfaad1755f781898febb55d1d63
treebd6ea2958d505657ad956646f1d21f624641463c
parentfc0b01930e50074f66ab1a7fe6d6a9e1e1ef9e41
video/matrox/matroxfb_maven: Use module_i2c_driver to register driver

Removing some boilerplate by using module_i2c_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Also removed a useless comment as suggested by Jean Delvare.

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/matrox/matroxfb_maven.c