drm: meson: rename driver name to meson-drm
authorNeil Armstrong <narmstrong@baylibre.com>
Thu, 2 Feb 2017 09:47:44 +0000 (10:47 +0100)
committerNeil Armstrong <narmstrong@baylibre.com>
Thu, 2 Feb 2017 14:19:56 +0000 (15:19 +0100)
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
drivers/gpu/drm/meson/meson_drv.c

index ff1f6019b97bcbc4516c1f09ce81f6c0a1482800..380bde7fce1642aa54287103c203383b0970633b 100644 (file)
@@ -329,8 +329,7 @@ static struct platform_driver meson_drm_platform_driver = {
        .probe      = meson_drv_probe,
        .remove     = meson_drv_remove,
        .driver     = {
-               .owner  = THIS_MODULE,
-               .name   = DRIVER_NAME,
+               .name   = "meson-drm",
                .of_match_table = dt_match,
        },
 };