[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1328301590.18218.8.camel@joe2Laptop>
Date: Fri, 03 Feb 2012 12:39:50 -0800
From: Joe Perches <joe@...ches.com>
To: Seth Forshee <seth.forshee@...onical.com>
Cc: linux-kernel@...r.kernel.org, Richard Purdie <rpurdie@...ys.net>,
Matthew Garrett <mjg@...hat.com>
Subject: Re: [PATCH 1/3] apple_bl: Convert printks to pr_<level>
On Fri, 2012-02-03 at 14:28 -0600, Seth Forshee wrote:
> Signed-off-by: Seth Forshee <seth.forshee@...onical.com>
[]
> diff --git a/drivers/video/backlight/apple_bl.c b/drivers/video/backlight/apple_bl.c
> @@ -58,9 +53,7 @@ static int intel_chipset_send_intensity(struct backlight_device *bd)
> {
> int intensity = bd->props.brightness;
>
> - if (debug)
> - printk(KERN_DEBUG DRIVER "setting brightness to %d\n",
> - intensity);
> + pr_debug("setting brightness to %d\n", intensity);
You may need to add "#define DEBUG" somewhere for
this to work as you might expect it to.
An "allyesconfig" does effectively add one.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists