Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755450Ab1C3Byn (ORCPT ); Tue, 29 Mar 2011 21:54:43 -0400 Received: from mail-vw0-f46.google.com ([209.85.212.46]:64993 "EHLO mail-vw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754108Ab1C3Bym convert rfc822-to-8bit (ORCPT ); Tue, 29 Mar 2011 21:54:42 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=G0EzpLKCkUmNpUK5v4fgshqx1VEhPium3H+HdZjGsX87U2dADFzimrs53javUG7naQ Xi57+ZCH2FEv+//Ru/o1VVsuBDxliXU+0bE8YQ7837Gwp4WkVee3z5XVqIi0hqPAufiQ qVQn0r0YHdTmqxvgdjJ6064JNwpQOV5BqtD5Q= MIME-Version: 1.0 In-Reply-To: References: From: Lucas De Marchi Date: Tue, 29 Mar 2011 22:54:21 -0300 Message-ID: Subject: Re: [PATCH 09/23] hdaps: Convert printks to pr_ To: Joe Perches Cc: Matthew Garrett , Frank Seidel , platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1330 Lines: 39 On Tue, Mar 29, 2011 at 19:21, Joe Perches wrote: > Added pr_fmt, converted printks and removed > hard coded prefixes. > > Signed-off-by: Joe Perches > --- > ?drivers/platform/x86/hdaps.c | ? 19 ++++++++++--------- > ?1 files changed, 10 insertions(+), 9 deletions(-) > > diff --git a/drivers/platform/x86/hdaps.c b/drivers/platform/x86/hdaps.c > index 067bf36..5a34973 100644 > --- a/drivers/platform/x86/hdaps.c > +++ b/drivers/platform/x86/hdaps.c > @@ -26,6 +26,8 @@ > ?* 51 Franklin Street, Fifth Floor, Boston, MA ?02110-1301, USA > ?*/ > > +#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt > + > ?#include > ?#include > ?#include > @@ -238,7 +240,7 @@ static int hdaps_device_init(void) > ? ? ? ? ? ? ? ? ? ? __check_latch(0x1611, 0x01)) > ? ? ? ? ? ? ? ?goto out; > > - ? ? ? printk(KERN_DEBUG "hdaps: initial latch check good (0x%02x).\n", > + ? ? ? printk(KERN_DEBUG "hdaps: initial latch check good (0x%02x)\n", Shouldn't this be pr_debug() or pr_devel() ? Lucas De Marchi -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/