diff mbox

[23/39] drivers/video/omap2/dss: Update WARN uses

Message ID 3dffcda8949a6625985223b6fbf18815b93646d7.1288471898.git.joe@perches.com (mailing list archive)
State New, archived
Delegated to: Tomi Valkeinen
Headers show

Commit Message

Joe Perches Oct. 30, 2010, 9:08 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/video/omap2/dss/core.c b/drivers/video/omap2/dss/core.c
index 8e89f60..2a98237 100644
--- a/drivers/video/omap2/dss/core.c
+++ b/drivers/video/omap2/dss/core.c
@@ -867,8 +867,7 @@  static void reset_device(struct device *dev, int check)
 		dev->platform_data = NULL;
 		while (dev_p < dev_end) {
 			if (*dev_p) {
-				WARN("%s: struct device fields will be "
-						"discarded\n",
+				WARN(1, "%s: struct device fields will be discarded\n",
 				     __func__);
 				break;
 			}