staging/iio: use module_platform_driver macro
authorDevendra Naga <develkernel412222@gmail.com>
Sat, 21 Jul 2012 08:54:00 +0000 (09:54 +0100)
committerJonathan Cameron <jic23@kernel.org>
Tue, 14 Aug 2012 19:31:12 +0000 (20:31 +0100)
the code which under _init and _exit does only the platform_driver_register
and platform_driver_unregister, and nothing else,
so its better to use the module_platform_driver macro rather duplicating
its implementation

Signed-off-by: Devendra Naga <develkernel412222@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>

No differences found