浏览代码

drm: meson: rename driver name to meson-drm

The platform driver name is currently "meson" which can lead to some
confusion, this patch renames it to "meson-drm" and removes the owner
attribute since is always added by __platform_driver_register called by the
module_platform_driver() macro.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Acked-by: Daniel Vetter <daniel@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1486028864-19622-3-git-send-email-narmstrong@baylibre.com
Neil Armstrong 8 年之前
父节点
当前提交
8aaacbc0e5
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      drivers/gpu/drm/meson/meson_drv.c

+ 1 - 2
drivers/gpu/drm/meson/meson_drv.c

@@ -329,8 +329,7 @@ static struct platform_driver meson_drm_platform_driver = {
 	.probe      = meson_drv_probe,
 	.probe      = meson_drv_probe,
 	.remove     = meson_drv_remove,
 	.remove     = meson_drv_remove,
 	.driver     = {
 	.driver     = {
-		.owner  = THIS_MODULE,
-		.name   = DRIVER_NAME,
+		.name	= "meson-drm",
 		.of_match_table = dt_match,
 		.of_match_table = dt_match,
 	},
 	},
 };
 };