drm/rcar-du: Rename rcar_du_plane_(init|register) to rcar_du_planes_*
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Sun, 16 Jun 2013 17:18:31 +0000 (19:18 +0200)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Fri, 9 Aug 2013 21:17:45 +0000 (23:17 +0200)
The functions initialize or register all planes, rename them
accordingly.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
drivers/gpu/drm/rcar-du/rcar_du_kms.c
drivers/gpu/drm/rcar-du/rcar_du_plane.c
drivers/gpu/drm/rcar-du/rcar_du_plane.h

index a8eef167d51a14a3752328ee153d71a521359e58..a1343fbde57adc6e9c405115c295a9b570231722 100644 (file)
@@ -174,7 +174,7 @@ int rcar_du_modeset_init(struct rcar_du_device *rcdu)
        rcdu->ddev->mode_config.max_height = 2047;
        rcdu->ddev->mode_config.funcs = &rcar_du_mode_config_funcs;
 
-       ret = rcar_du_plane_init(rcdu);
+       ret = rcar_du_planes_init(rcdu);
        if (ret < 0)
                return ret;
 
@@ -215,7 +215,7 @@ int rcar_du_modeset_init(struct rcar_du_device *rcdu)
                encoder->possible_clones = 1 << 0;
        }
 
-       ret = rcar_du_plane_register(rcdu);
+       ret = rcar_du_planes_register(rcdu);
        if (ret < 0)
                return ret;
 
index 38ebd20e4e8d358f029bb98bcf3930f6068d41d4..29f21477ef0eaa3e778e600639d511f2f66b5ff0 100644 (file)
@@ -435,7 +435,7 @@ static const uint32_t formats[] = {
        DRM_FORMAT_NV16,
 };
 
-int rcar_du_plane_init(struct rcar_du_device *rcdu)
+int rcar_du_planes_init(struct rcar_du_device *rcdu)
 {
        unsigned int i;
 
@@ -475,7 +475,7 @@ int rcar_du_plane_init(struct rcar_du_device *rcdu)
        return 0;
 }
 
-int rcar_du_plane_register(struct rcar_du_device *rcdu)
+int rcar_du_planes_register(struct rcar_du_device *rcdu)
 {
        unsigned int i;
        int ret;
index 5c8488ca019fb369c8b823e206d9ff561fcc9e15..bcf6f76f56a0aca877adbf274de3698f4d900991 100644 (file)
@@ -67,8 +67,9 @@ struct rcar_du_planes {
        struct drm_property *zpos;
 };
 
-int rcar_du_plane_init(struct rcar_du_device *rcdu);
-int rcar_du_plane_register(struct rcar_du_device *rcdu);
+int rcar_du_planes_init(struct rcar_du_device *rcdu);
+int rcar_du_planes_register(struct rcar_du_device *rcdu);
+
 void rcar_du_plane_setup(struct rcar_du_plane *plane);
 void rcar_du_plane_update_base(struct rcar_du_plane *plane);
 void rcar_du_plane_compute_base(struct rcar_du_plane *plane,