diff options
author | Devendra Naga <develkernel412222@gmail.com> | 2012-07-21 12:54:00 +0400 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2012-08-14 23:31:12 +0400 |
commit | d16f6dbddbd7a2ac40e090da1e6bb7dd9b5a1dcb (patch) | |
tree | 71f7d36bf2590e4274568f2e2fe6ab7f13985ca0 /drivers/iio | |
parent | f4e4b9558bc696cc89de460e754d3fecb50b13cb (diff) | |
download | linux-d16f6dbddbd7a2ac40e090da1e6bb7dd9b5a1dcb.tar.xz |
staging/iio: use module_platform_driver macro
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>
Diffstat (limited to 'drivers/iio')
0 files changed, 0 insertions, 0 deletions