summaryrefslogtreecommitdiff
path: root/include/drm/drm_print.h
diff options
context:
space:
mode:
authorHaneen Mohammed <hamohammed.sa@gmail.com>2017-10-17 22:31:22 -0600
committerSean Paul <seanpaul@chromium.org>2017-10-20 13:14:56 -0400
commit091756bbb1a961324bdadf10e273b677fcf4e74a (patch)
tree96543b7a2e6efda9482b0b4684195d65e48d0cac /include/drm/drm_print.h
parent02c9656b2f0d6997939933d8573c2ffb587427e6 (diff)
drm/print: Update old comment style
Remove old comment style used by doxygen. And remove comment left from commit 99cdb35e787b ("drm/doc: move printf helpers out of drmP.h") after refactoring drmP.h. Signed-off-by: Haneen Mohammed <hamohammed.sa@gmail.com> Signed-off-by: Sean Paul <seanpaul@chromium.org> Link: https://patchwork.freedesktop.org/patch/msgid/4d89eef3945dbffd402d2ecdc130108b0565c158.1508297716.git.hamohammed.sa@gmail.com
Diffstat (limited to 'include/drm/drm_print.h')
-rw-r--r--include/drm/drm_print.h27
1 files changed, 10 insertions, 17 deletions
diff --git a/include/drm/drm_print.h b/include/drm/drm_print.h
index 41dd757c82f4..7b9c86a6ca3e 100644
--- a/include/drm/drm_print.h
+++ b/include/drm/drm_print.h
@@ -179,9 +179,8 @@ void drm_dev_printk(const struct device *dev, const char *level,
__printf(3, 4)
void drm_printk(const char *level, unsigned int category,
const char *format, ...);
-/***********************************************************************/
-/** \name Macros to make printk easier */
-/*@{*/
+
+/* Macros to make printk easier */
#define _DRM_PRINTK(once, level, fmt, ...) \
do { \
@@ -206,8 +205,8 @@ void drm_printk(const char *level, unsigned int category,
/**
* Error output.
*
- * \param fmt printf() like format string.
- * \param arg arguments
+ * @dev: device pointer
+ * @fmt: printf() like format string.
*/
#define DRM_DEV_ERROR(dev, fmt, ...) \
drm_dev_printk(dev, KERN_ERR, DRM_UT_NONE, __func__, " *ERROR*",\
@@ -218,8 +217,8 @@ void drm_printk(const char *level, unsigned int category,
/**
* Rate limited error output. Like DRM_ERROR() but won't flood the log.
*
- * \param fmt printf() like format string.
- * \param arg arguments
+ * @dev: device pointer
+ * @fmt: printf() like format string.
*/
#define DRM_DEV_ERROR_RATELIMITED(dev, fmt, ...) \
({ \
@@ -249,8 +248,8 @@ void drm_printk(const char *level, unsigned int category,
/**
* Debug output.
*
- * \param fmt printf() like format string.
- * \param arg arguments
+ * @dev: device pointer
+ * @fmt: printf() like format string.
*/
#define DRM_DEV_DEBUG(dev, fmt, args...) \
drm_dev_printk(dev, KERN_DEBUG, DRM_UT_CORE, __func__, "", fmt, \
@@ -301,8 +300,8 @@ void drm_printk(const char *level, unsigned int category,
/**
* Rate limited debug output. Like DRM_DEBUG() but won't flood the log.
*
- * \param fmt printf() like format string.
- * \param arg arguments
+ * @dev: device pointer
+ * @fmt: printf() like format string.
*/
#define DRM_DEV_DEBUG_RATELIMITED(dev, fmt, args...) \
DEV__DRM_DEFINE_DEBUG_RATELIMITED(dev, CORE, fmt, ##args)
@@ -321,10 +320,4 @@ void drm_printk(const char *level, unsigned int category,
#define DRM_DEBUG_PRIME_RATELIMITED(fmt, args...) \
DRM_DEV_DEBUG_PRIME_RATELIMITED(NULL, fmt, ##args)
-/* Format strings and argument splitters to simplify printing
- * various "complex" objects
- */
-
-/*@}*/
-
#endif /* DRM_PRINT_H_ */