video: convert mbxfb to use module_platform_driver()
authorAxel Lin <axel.lin@gmail.com>
Fri, 9 Dec 2011 01:57:53 +0000 (09:57 +0800)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Mon, 19 Dec 2011 20:21:43 +0000 (20:21 +0000)
commit70f6255a488f62a8f054907479b0eb6615b9bcb5
tree708e0f70ede8e81f24f7db20312ea25b449ee59c
parentedd153a3e4f7346551f98014b3ccf0494219a9d1
video: convert mbxfb to use module_platform_driver()

This patch converts mbxfb to use the module_platform_driver() macro
which makes the code smaller and a bit simpler.

Cc: Mike Rapoport <mike@compulab.co.il>
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
drivers/video/mbx/mbxfb.c