From patchwork Thu Aug 4 10:05:23 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Doan X-Patchwork-Id: 3262 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 78F2A23F3D for ; Thu, 4 Aug 2011 10:05:28 +0000 (UTC) Received: from mail-qw0-f52.google.com (mail-qw0-f52.google.com [209.85.216.52]) by fiordland.canonical.com (Postfix) with ESMTP id 40116A1864C for ; Thu, 4 Aug 2011 10:05:28 +0000 (UTC) Received: by qwb8 with SMTP id 8so892905qwb.11 for ; Thu, 04 Aug 2011 03:05:27 -0700 (PDT) Received: by 10.229.241.19 with SMTP id lc19mr443521qcb.45.1312452327715; Thu, 04 Aug 2011 03:05:27 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.229.6.73 with SMTP id 9cs8784qcy; Thu, 4 Aug 2011 03:05:27 -0700 (PDT) Received: by 10.227.202.193 with SMTP id ff1mr535680wbb.44.1312452326428; Thu, 04 Aug 2011 03:05:26 -0700 (PDT) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx.google.com with ESMTPS id fh19si3456445wbb.122.2011.08.04.03.05.26 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 04 Aug 2011 03:05:26 -0700 (PDT) Received-SPF: neutral (google.com: 74.125.82.50 is neither permitted nor denied by best guess record for domain of andy.doan@linaro.org) client-ip=74.125.82.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 74.125.82.50 is neither permitted nor denied by best guess record for domain of andy.doan@linaro.org) smtp.mail=andy.doan@linaro.org Received: by wwi36 with SMTP id 36so201578wwi.31 for ; Thu, 04 Aug 2011 03:05:26 -0700 (PDT) Received: by 10.227.55.142 with SMTP id u14mr524212wbg.87.1312452325811; Thu, 04 Aug 2011 03:05:25 -0700 (PDT) Received: from [10.199.79.130] ([109.234.204.184]) by mx.google.com with ESMTPS id ew4sm538790wbb.42.2011.08.04.03.05.24 (version=SSLv3 cipher=OTHER); Thu, 04 Aug 2011 03:05:25 -0700 (PDT) Message-ID: <4E3A6EE3.1050007@linaro.org> Date: Thu, 04 Aug 2011 11:05:23 +0100 From: Andy Doan User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.18) Gecko/20110617 Lightning/1.0b2 Thunderbird/3.1.11 MIME-Version: 1.0 To: undisclosed-recipients:; Subject: [PATCH] OMAPFB: make debug message more useful X-Enigmail-Version: 1.1.1 Make the debug message useful by printing the name of the device that no associated driver could be found for. Signed-off-by: Andy Doan --- drivers/video/omap2/omapfb/omapfb-main.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/video/omap2/omapfb/omapfb-main.c b/drivers/video/omap2/omapfb/omapfb-main.c index 602b71a..e5a64b3 100644 --- a/drivers/video/omap2/omapfb/omapfb-main.c +++ b/drivers/video/omap2/omapfb/omapfb-main.c @@ -2373,7 +2373,8 @@ static int omapfb_probe(struct platform_device *pdev) omap_dss_get_device(dssdev); if (!dssdev->driver) { - dev_err(&pdev->dev, "no driver for display\n"); + dev_err(&pdev->dev, "no driver for display: %s\n", + dssdev->name); r = -ENODEV; }