OMAPDSS: DSS: fix a warning message
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 4 Dec 2015 13:14:58 +0000 (16:14 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 29 Dec 2015 09:06:31 +0000 (11:06 +0200)
commit85d90b12518f3dfaed23e83dd8b163bc6271725e
tree09ad1c4b3a21a9c961ddb3e5cec825c56afd641c
parent9dec58e6c4d44175eaab64308c1bc27a2b5cb555
OMAPDSS: DSS: fix a warning message

The WARN() macro has to take a condition.  The current code will just
print the stack trace and the function name instead of the intended
warning message.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbdev/omap2/dss/dss.h