drm/lima: use module_platform_driver helper
authorQiang Yu <yuq825@gmail.com>
Tue, 21 Apr 2020 13:35:42 +0000 (21:35 +0800)
committerQiang Yu <yuq825@gmail.com>
Fri, 24 Apr 2020 12:47:16 +0000 (20:47 +0800)
commit4eda21d61904f75cda7635b3c225b7141c2ef20c
tree1e3adba0d8710ceaffe1e69d8af8d69f9bd26842
parent2ce216edf2c661fd9d2f5e19ce72fd80c25abc64
drm/lima: use module_platform_driver helper

Simplify module init/exit with module_platform_driver.

Tested-by: Bhushan Shah <bshah@kde.org>
Reviewed-by: Vasily Khoruzhick <anarsoul@gmail.com>
Signed-off-by: Qiang Yu <yuq825@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200421133551.31481-2-yuq825@gmail.com
drivers/gpu/drm/lima/lima_drv.c