summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@linux.intel.com>2021-05-16 14:13:14 +0200
committerThomas Zimmermann <tzimmermann@suse.de>2021-05-27 08:34:50 +0200
commitb066c72e6a1c2a4876a0ad1032b1fef6fc86e6eb (patch)
tree8e5e573d27a089381e39aae1aaee82de37287bb5 /include
parentb2f0101a0689ab03055f7ec2df4a9d76b7a47496 (diff)
downloadlinux-b066c72e6a1c2a4876a0ad1032b1fef6fc86e6eb.tar.gz
linux-b066c72e6a1c2a4876a0ad1032b1fef6fc86e6eb.tar.bz2
linux-b066c72e6a1c2a4876a0ad1032b1fef6fc86e6eb.zip
drm: Remove drm_get_format_name()
The %p4cc printk format modifier was recently added to print fourcc codes, replacing drm_get_format_name(). The function is no longer needed, so remove it. Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Petr Mladek <pmladek@suse.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20210516121315.30321-4-tzimmermann@suse.de
Diffstat (limited to 'include')
-rw-r--r--include/drm/drm_fourcc.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/drm/drm_fourcc.h b/include/drm/drm_fourcc.h
index 156b122c0ad5..3ea17b8a79d3 100644
--- a/include/drm/drm_fourcc.h
+++ b/include/drm/drm_fourcc.h
@@ -318,6 +318,5 @@ unsigned int drm_format_info_block_height(const struct drm_format_info *info,
int plane);
uint64_t drm_format_info_min_pitch(const struct drm_format_info *info,
int plane, unsigned int buffer_width);
-const char *drm_get_format_name(uint32_t format, struct drm_format_name_buf *buf);
#endif /* __DRM_FOURCC_H__ */