drm/msm/mdp: fix a problematic usage of WARN_ON()
authorGeliang Tang <geliangtang@163.com>
Wed, 25 Nov 2015 13:12:14 +0000 (21:12 +0800)
committerRob Clark <robdclark@gmail.com>
Mon, 14 Dec 2015 16:51:04 +0000 (11:51 -0500)
commit2abd1c88345e9c10a8f34cf6d3b025bf7267ca85
tree57745b13162e84ef240c4fd16baf0310f5186ad8
parentbeb107f30ea74611286ede91f0aa93b145c476b4
drm/msm/mdp: fix a problematic usage of WARN_ON()

WARN_ON() takes a condition rather than a format string. This patch
converted WARN_ON() to WARN() instead.

Signed-off-by: Geliang Tang <geliangtang@163.com>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/mdp/mdp4/mdp4_kms.h