1
0
Fork 0
alistair23-linux/drivers/gpu/drm/shmobile
Ville Syrjälä 13a3d91f17 drm: Pass 'name' to drm_encoder_init()
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.

@@
identifier dev, encoder, funcs;
@@
 int drm_encoder_init(struct drm_device *dev,
                      struct drm_encoder *encoder,
                      const struct drm_encoder_funcs *funcs,
                      int encoder_type
+                     ,const char *name, int DOTDOTDOT
                      )
{ ... }

@@
identifier dev, encoder, funcs;
@@
 int drm_encoder_init(struct drm_device *dev,
                      struct drm_encoder *encoder,
                      const struct drm_encoder_funcs *funcs,
                      int encoder_type
+                     ,const char *name, int DOTDOTDOT
                      );

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

v2: 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/1449670818-2966-1-git-send-email-ville.syrjala@linux.intel.com
2015-12-11 09:13:20 +01:00
..
Kconfig drm: Kconfig: Let all DRM_GEM_CMA_HELPER related macros depend on HAVE_DMA_ATTRS 2015-02-03 11:12:37 +10:00
Makefile drm: Renesas SH Mobile DRM driver 2012-09-18 12:28:22 +02:00
shmob_drm_backlight.c drm/shmob: Update copyright notice 2014-09-15 11:34:07 +03:00
shmob_drm_backlight.h drm/shmob: Update copyright notice 2014-09-15 11:34:07 +03:00
shmob_drm_crtc.c drm: Pass 'name' to drm_encoder_init() 2015-12-11 09:13:20 +01:00
shmob_drm_crtc.h drm/shmob: Update copyright notice 2014-09-15 11:34:07 +03:00
shmob_drm_drv.c drm: Stop using drm_vblank_count() as the hw frame counter 2015-10-07 16:13:52 +02:00
shmob_drm_drv.h drm/shmob: Update copyright notice 2014-09-15 11:34:07 +03:00
shmob_drm_kms.c drm: Pass the user drm_mode_fb_cmd2 as const to .fb_create() 2015-11-24 11:47:38 +01:00
shmob_drm_kms.h drm/shmob: Update copyright notice 2014-09-15 11:34:07 +03:00
shmob_drm_plane.c drm/shmob: Update copyright notice 2014-09-15 11:34:07 +03:00
shmob_drm_plane.h drm/shmob: Update copyright notice 2014-09-15 11:34:07 +03:00
shmob_drm_regs.h drm/shmob: Update copyright notice 2014-09-15 11:34:07 +03:00