video: bfin-lq035q1: use module_platform_driver
authorDevendra Naga <develkernel412222@gmail.com>
Thu, 23 Aug 2012 21:55:22 +0000 (03:25 +0530)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Sat, 22 Sep 2012 21:17:36 +0000 (21:17 +0000)
commit1d90a66f5bf25b60951b01f196bd7e4282c69b73
tree14a52e9891d51e6088ef6f0406bbf723fbe56229
parent58fc6ef6f8c8ae06a82f7dd3ae1fa09d4fcfc875
video: bfin-lq035q1: use module_platform_driver

the driver's module init and exit functions are calling
platform_driver_register and platform_driver_unregister and doing nothing
else.

This same as that of the module_platform_driver,
remove this init and exit functions and use the module_platform_driver instead

Signed-off-by: Devendra Naga <develkernel412222@gmail.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
drivers/video/bfin-lq035q1-fb.c