diff options
author | Devendra Naga <develkernel412222@gmail.com> | 2012-07-21 10:54:00 +0200 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2012-08-14 21:31:12 +0200 |
commit | d16f6dbddbd7a2ac40e090da1e6bb7dd9b5a1dcb (patch) | |
tree | 71f7d36bf2590e4274568f2e2fe6ab7f13985ca0 /drivers/iio | |
parent | staging:iio: Constify static iio_chan_spec arrays (diff) | |
download | linux-d16f6dbddbd7a2ac40e090da1e6bb7dd9b5a1dcb.tar.xz linux-d16f6dbddbd7a2ac40e090da1e6bb7dd9b5a1dcb.zip |
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