gpu: drm: drivers: Convert printk(KERN_<LEVEL> to pr_<level>
Use a more common logging style. Miscellanea: o Coalesce formats and realign arguments o Neaten a few macros now using pr_<level> Signed-off-by: Joe Perches <joe@perches.com> Acked-by: Rob Clark <robdclark@gmail.com> Acked-by: Sinclair Yeh <syeh@vmware.com> Acked-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com> Acked-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/76355db47b31668bb64d996865ceee53bd66b11f.1488285953.git.joe@perches.com
This commit is contained in:

committed by
Daniel Vetter

parent
0f44548676
commit
8dfe162ac7
@@ -1107,9 +1107,8 @@ static inline bool is_waiting(struct omap_gem_sync_waiter *waiter)
|
||||
|
||||
/* macro for sync debug.. */
|
||||
#define SYNCDBG 0
|
||||
#define SYNC(fmt, ...) do { if (SYNCDBG) \
|
||||
printk(KERN_ERR "%s:%d: "fmt"\n", \
|
||||
__func__, __LINE__, ##__VA_ARGS__); \
|
||||
#define SYNC(fmt, ...) do { if (SYNCDBG) \
|
||||
pr_err("%s:%d: " fmt "\n", __func__, __LINE__, ##__VA_ARGS__); \
|
||||
} while (0)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user