mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mike Sheldon <mike@mikeasoft.com>
To: greg@kroah.com, pavel@ucw.cz
Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org,
	Mike Sheldon <mike@mikeasoft.com>
Subject: [PATCH 14/15] Staging: winbond: Replace printk usage with pr_info
Date: Thu, 27 May 2010 00:39:51 +0100	[thread overview]
Message-ID: <1274917192-16962-14-git-send-email-mike@mikeasoft.com> (raw)
In-Reply-To: <1274917192-16962-1-git-send-email-mike@mikeasoft.com>

Patches reg.c to replace printk usage (missing KERN_ levels) with pr_info.

Signed-off-by: Mike Sheldon <mike@mikeasoft.com>
---
 drivers/staging/winbond/reg.c |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/drivers/staging/winbond/reg.c b/drivers/staging/winbond/reg.c
index d9a8128..ba2e705 100644
--- a/drivers/staging/winbond/reg.c
+++ b/drivers/staging/winbond/reg.c
@@ -1011,7 +1011,7 @@ void RFSynthesizer_initial(struct hw_data *pHwData)
 		/* Start to fill RF parameters, PLL_ON should be pulled low. */
 		Wb35Reg_WriteSync(pHwData, 0x03dc, 0x00000000);
 		#ifdef _PE_STATE_DUMP_
-		printk("* PLL_ON    low\n");
+		pr_info("* PLL_ON    low\n");
 		#endif
 		number = sizeof(al7230_rf_data_24) / sizeof(al7230_rf_data_24[0]);
 		Set_ChanIndep_RfData_al7230_24(pHwData, pltmp, number);
@@ -1099,7 +1099,7 @@ void RFSynthesizer_initial(struct hw_data *pHwData)
 		/* RF parameters have filled completely, PLL_ON should be pulled high */
 		Wb35Reg_WriteSync(pHwData, 0x03dc, 0x00000080);
 		#ifdef _PE_STATE_DUMP_
-		printk("* PLL_ON    high\n");
+		pr_info("* PLL_ON    high\n");
 		#endif
 
 		/* 2.4GHz */
@@ -1116,7 +1116,7 @@ void RFSynthesizer_initial(struct hw_data *pHwData)
 		/* 5GHz */
 		Wb35Reg_WriteSync(pHwData, 0x03dc, 0x00000000);
 		#ifdef _PE_STATE_DUMP_
-		printk("* PLL_ON    low\n");
+		pr_info("* PLL_ON    low\n");
 		#endif
 
 		number = sizeof(al7230_rf_data_50) / sizeof(al7230_rf_data_50[0]);
@@ -1128,7 +1128,7 @@ void RFSynthesizer_initial(struct hw_data *pHwData)
 
 		Wb35Reg_WriteSync(pHwData, 0x03dc, 0x00000080);
 		#ifdef _PE_STATE_DUMP_
-		printk("* PLL_ON    high\n");
+		pr_info("* PLL_ON    high\n");
 		#endif
 
 		ltmp = (1 << 31) | (0 << 30) | (24 << 24) | 0x9ABA8F;
@@ -1796,7 +1796,7 @@ void RFSynthesizer_SwitchingChannel(struct hw_data *pHwData,  struct chan_info C
 			/* Write to register. number must less and equal than 16 */
 			Wb35Reg_BurstWrite(pHwData, 0x0864, pltmp, number, NO_INCREMENT);
 			#ifdef _PE_STATE_DUMP_
-			printk("Band changed\n");
+			pr_info("Band changed\n");
 			#endif
 		}
 
@@ -2338,9 +2338,9 @@ void EEPROMTxVgaAdjust(struct hw_data *pHwData)
 	}
 
 	#ifdef _PE_STATE_DUMP_
-	printk(" TxVgaFor24 :\n");
+	pr_info(" TxVgaFor24 :\n");
 	DataDmp((u8 *)pHwData->TxVgaFor24, 14 , 0);
-	printk(" TxVgaFor50 :\n");
+	pr_info(" TxVgaFor50 :\n");
 	DataDmp((u8 *)pHwData->TxVgaFor50, 70 , 0);
 	#endif
 }
-- 
1.7.0.4


  parent reply	other threads:[~2010-05-26 23:42 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-26 23:39 [PATCH 01/15] Staging: winbond: Fix spacing around brackets and colons Mike Sheldon
2010-05-26 23:39 ` [PATCH 02/15] Staging: winbond: Replace C99 comments with C88 Mike Sheldon
2010-05-26 23:39 ` [PATCH 03/15] Staging: winbond: Fix spacing around brackets, braces, etc Mike Sheldon
2010-05-26 23:39 ` [PATCH 04/15] Staging: winbond: Replace printk usage with pr_info/pr_err Mike Sheldon
2010-05-26 23:39 ` [PATCH 05/15] Staging: winbond: Fix spacing around brackets, braces, etc Mike Sheldon
2010-05-26 23:39 ` [PATCH 06/15] Staging: winbond: Replace C99 comments with C88 Mike Sheldon
2010-05-26 23:39 ` [PATCH 07/15] Staging: winbond: Replace printk usage with pr_err Mike Sheldon
2010-05-26 23:39 ` [PATCH 08/15] Staging: winbond: Replace printk usage with pr_info/pr_err Mike Sheldon
2010-05-26 23:39 ` [PATCH 09/15] Staging: winbond: Fix spacing around brackets and pointers Mike Sheldon
2010-05-26 23:39 ` [PATCH 10/15] Staging: winbond: Replace C99 comments with C88 Mike Sheldon
2010-05-26 23:39 ` [PATCH 11/15] Staging: winbond: Fix spacing around brackets and pointers Mike Sheldon
2010-05-26 23:39 ` [PATCH 12/15] Staging: winbond: Replace C99 comments with C88 Mike Sheldon
2010-05-26 23:39 ` [PATCH 13/15] Staging: winbond: Replace printk usage with pr_info/pr_err Mike Sheldon
2010-05-26 23:39 ` Mike Sheldon [this message]
2010-05-26 23:39 ` [PATCH 15/15] Staging: winbond: Replace printk usage with pr_info Mike Sheldon
2010-06-18 17:03 ` [PATCH 01/15] Staging: winbond: Fix spacing around brackets and colons Greg KH

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=1274917192-16962-14-git-send-email-mike@mikeasoft.com \
    --to=mike@mikeasoft.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pavel@ucw.cz \
    /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

all inboxes | Powered by JetHome®