WSL2-Linux-Kernel/drivers/gpu/drm/rcar-du
Ville Syrjälä f98828769c drm: Pass 'name' to drm_crtc_init_with_planes()
Done with coccinelle for the most part. However, it thinks '...' is
part of the semantic patch, so I put an 'int DOTDOTDOT' placeholder
in its place and got rid of it with sed afterwards.

I didn't convert drm_crtc_init() since passing the varargs through
would mean either cpp macros or va_list, and I figured we don't
care about these legacy functions enough to warrant the extra pain.

@@
identifier dev, crtc, primary, cursor, funcs;
@@
 int drm_crtc_init_with_planes(struct drm_device *dev,
                               struct drm_crtc *crtc,
                               struct drm_plane *primary, struct drm_plane *cursor,
                               const struct drm_crtc_funcs *funcs
+                              ,const char *name, int DOTDOTDOT
                               )
{ ... }

@@
identifier dev, crtc, primary, cursor, funcs;
@@
 int drm_crtc_init_with_planes(struct drm_device *dev,
                               struct drm_crtc *crtc,
                               struct drm_plane *primary, struct drm_plane *cursor,
                               const struct drm_crtc_funcs *funcs
+                              ,const char *name, int DOTDOTDOT
                               );

@@
expression E1, E2, E3, E4, E5;
@@
 drm_crtc_init_with_planes(E1, E2, E3, E4, E5
+                          ,NULL
                           )

v2: Split crtc and plane changes apart
    Pass NULL for no-name instead of ""
    Leave drm_crtc_init() alone
v3: Add ', or NULL...' to @name kernel doc (Jani)
    Annotate the function with __printf() attribute (Jani)

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1449670771-2751-1-git-send-email-ville.syrjala@linux.intel.com
2015-12-11 09:12:44 +01:00
..
Kconfig drm: rcar-du: Add dependency on OF 2015-10-20 01:33:21 +03:00
Makefile drm: rcar-du: Add HDMI encoder and connector support 2014-11-26 20:09:38 +02:00
rcar_du_crtc.c drm: Pass 'name' to drm_crtc_init_with_planes() 2015-12-11 09:12:44 +01:00
rcar_du_crtc.h drm: rcar-du: Document the rcar_du_crtc structure 2015-05-25 15:34:10 +03:00
rcar_du_drv.c drm: rcar-du: Add support for the R8A7794 DU 2015-10-21 18:52:38 +03:00
rcar_du_drv.h drm: rcar-du: Move properties from rcar_du_planes to rcar_du_device 2015-05-25 15:34:11 +03:00
rcar_du_encoder.c drm: rcar-du: Replace encoder mode_fixup with atomic_check 2015-03-03 16:16:21 +02:00
rcar_du_encoder.h drm: rcar-du: Add HDMI encoder and connector support 2014-11-26 20:09:38 +02:00
rcar_du_group.c drm: rcar-du: Add support for the R8A7794 DU 2015-10-21 18:52:38 +03:00
rcar_du_group.h drm: rcar-du: Fix crash with groups that have less than 9 planes 2015-06-16 14:25:43 +03:00
rcar_du_hdmicon.c drm: rcar-du: Switch connector DPMS to atomic helpers 2015-03-03 16:16:20 +02:00
rcar_du_hdmicon.h drm: rcar-du: Add HDMI encoder and connector support 2014-11-26 20:09:38 +02:00
rcar_du_hdmienc.c drm: rcar-du: Replace encoder mode_fixup with atomic_check 2015-03-03 16:16:21 +02:00
rcar_du_hdmienc.h drm: rcar-du: Add HDMI encoder and connector support 2014-11-26 20:09:38 +02:00
rcar_du_kms.c drm: Pass the user drm_mode_fb_cmd2 as const to .fb_create() 2015-11-24 11:47:38 +01:00
rcar_du_kms.h drm/rcar-du: Update copyright notice 2014-09-15 11:34:06 +03:00
rcar_du_lvdscon.c drm: rcar-du: Switch connector DPMS to atomic helpers 2015-03-03 16:16:20 +02:00
rcar_du_lvdscon.h drm: rcar-du: Remove platform data support 2014-11-26 20:09:36 +02:00
rcar_du_lvdsenc.c drm: rcar-du: Replace LVDS encoder DPMS by enable/disable 2015-03-03 16:16:14 +02:00
rcar_du_lvdsenc.h drm: rcar-du: Replace LVDS encoder DPMS by enable/disable 2015-03-03 16:16:14 +02:00
rcar_du_plane.c drm: rcar-du: Fix plane state free in plane reset handler 2015-10-20 01:36:14 +03:00
rcar_du_plane.h drm: rcar-du: Rename to_rcar_du_plane_state to to_rcar_plane_state 2015-05-25 15:34:11 +03:00
rcar_du_regs.h drm: rcar-du: Implement support for interlaced modes 2014-12-23 12:01:52 +02:00
rcar_du_vgacon.c drm: rcar-du: Switch connector DPMS to atomic helpers 2015-03-03 16:16:20 +02:00
rcar_du_vgacon.h drm/rcar-du: Update copyright notice 2014-09-15 11:34:06 +03:00
rcar_lvds_regs.h drm/rcar-du: Add internal LVDS encoder support 2013-08-09 23:17:53 +02:00