linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tomi Valkeinen <tomi.valkeinen@ti.com>
To: Andy Doan <andy.doan@linaro.org>
Cc: linux-fbdev@vger.kernel.org, linux-omap@vger.kernel.org
Subject: Re: [PATCH] OMAPFB: make debug message more useful
Date: Thu, 04 Aug 2011 08:09:19 +0000	[thread overview]
Message-ID: <1312445359.2143.9.camel@deskari> (raw)
In-Reply-To: <1309972109-23778-1-git-send-email-andy.doan@linaro.org>

On Wed, 2011-07-06 at 12:08 -0500, Andy Doan wrote:
> 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 <andy.doan@linaro.org>
> ---
>  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;
>  		}
>  

Thanks, applying.

 Tomi



      reply	other threads:[~2011-08-04  8:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-06 17:08 [PATCH] OMAPFB: make debug message more useful Andy Doan
2011-08-04  8:09 ` Tomi Valkeinen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1312445359.2143.9.camel@deskari \
    --to=tomi.valkeinen@ti.com \
    --cc=andy.doan@linaro.org \
    --cc=linux-fbdev@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).