staging/tidspbridge: use module_platform_driver
authorDevendra Naga <develkernel412222@gmail.com>
Sat, 21 Jul 2012 08:56:00 +0000 (14:41 +0545)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Aug 2012 02:06:59 +0000 (19:06 -0700)
commitb95dd03df2b9f20b4df35ae5f18430849908a7ed
treeca47f83942c4de28877ac2165fa306d95be1f72c
parent0142919c583cad4e6c82566f59a95ff1e2a728f5
staging/tidspbridge: use module_platform_driver

the code under _init and _exit does platform_driver_register and
platform_driver_unregister respectively only,

so its better to use the module_platform_driver than just replicating
the module_platform_driver's implementation

Signed-off-by: Devendra Naga <develkernel412222@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/tidspbridge/rmgr/drv_interface.c