linux-uconsole/drivers/gpu/drm/virtio
Ville Syrjälä a91606afb1 UPSTREAM: 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)

Change-Id: Id28ae2a6848fe1bd46905287b68f5d2c61d70039
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
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
(cherry picked from commit 13a3d91f17)
2016-03-17 09:42:01 +08:00
..
Kconfig
Makefile virtio-gpu: add basic prime support 2015-10-16 10:44:02 +02:00
virtgpu_debugfs.c drm/virtio: use %llu format string form atomic64_t 2015-10-16 11:36:36 +10:00
virtgpu_display.c UPSTREAM: drm: Pass 'name' to drm_encoder_init() 2016-03-17 09:42:01 +08:00
virtgpu_drm_bus.c Add virtio-vga bits. 2015-06-16 11:22:40 +02:00
virtgpu_drv.c virtio-gpu: mark as a render gpu 2015-10-16 10:44:03 +02:00
virtgpu_drv.h virtio-gpu: add basic prime support 2015-10-16 10:44:02 +02:00
virtgpu_fb.c drm/virtio: Use new drm_fb_helper functions 2015-08-06 14:13:07 +02:00
virtgpu_fence.c Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2015-11-10 09:33:06 -08:00
virtgpu_gem.c virtio-gpu: add 3d/virgl support 2015-10-16 10:44:02 +02:00
virtgpu_ioctl.c virtio-gpu: mark as a render gpu 2015-10-16 10:44:03 +02:00
virtgpu_kms.c virtio-gpu: add 3d/virgl support 2015-10-16 10:44:02 +02:00
virtgpu_object.c virtio-gpu: don't free things on ttm_bo_init failure 2015-10-16 10:44:01 +02:00
virtgpu_plane.c UPSTREAM: drm: Pass 'name' to drm_universal_plane_init() 2016-03-17 09:42:01 +08:00
virtgpu_prime.c virtio-gpu: add basic prime support 2015-10-16 10:44:02 +02:00
virtgpu_ttm.c virtio-gpu: add 3d/virgl support 2015-10-16 10:44:02 +02:00
virtgpu_vq.c virtio-gpu: add 3d/virgl support 2015-10-16 10:44:02 +02:00