mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
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>
This commit is contained in:
parent
f4e4b9558b
commit
d16f6dbddb
1 changed files with 1 additions and 11 deletions
Loading…
Add table
Add a link
Reference in a new issue