diff options
author | Joe Perches <joe@perches.com> | 2014-08-17 09:17:04 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-08-17 09:43:50 -0700 |
commit | 48caf5a060491edb2e1793539dad72e70c54c869 (patch) | |
tree | 27be414ac8303a6d31d6eb6a3650b075a8fa835e /drivers/staging/vt6655/channel.c | |
parent | c7b09efacf54210be511450768c0ee98071feb7f (diff) | |
download | linux-48caf5a060491edb2e1793539dad72e70c54c869.tar.bz2 |
staging: vt6655: Convert DBG_PRT to pr_<level>
DBG_PRT uses are unnecessarily complex.
Convert DBG_PRT msglevel to pr_<level>.
This changes the KERN_<level> type of several uses.
It also enables dynamic_debug for the pr_debug conversions.
This patch can be a prelude to converting these pr_<level>
uses to dev_<level> as appropriate.
Other changes:
Realign arguments of these conversions.
Remove now unused static int msglevel declarations.
Remove now unused DBG_PRT #define.
Compile tested only.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6655/channel.c')
-rw-r--r-- | drivers/staging/vt6655/channel.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/staging/vt6655/channel.c b/drivers/staging/vt6655/channel.c index 753d523800c3..4ce964ba14b7 100644 --- a/drivers/staging/vt6655/channel.c +++ b/drivers/staging/vt6655/channel.c @@ -30,8 +30,6 @@ #define CARD_MAX_CHANNEL_TBL 56 -static int msglevel = MSG_LEVEL_INFO; - /*--------------------- Static Variables --------------------------*/ static SChannelTblElement sChannelTbl[CARD_MAX_CHANNEL_TBL + 1] = @@ -480,7 +478,10 @@ void init_channel_table(void *pDeviceHandler) } } - DBG_PRT(MSG_LEVEL_NOTICE, KERN_INFO "Zone=[%d][%c][%c]!!\n", pDevice->byZoneType, ChannelRuleTab[pDevice->byZoneType].chCountryCode[0], ChannelRuleTab[pDevice->byZoneType].chCountryCode[1]); + pr_info("Zone=[%d][%c][%c]!!\n", + pDevice->byZoneType, + ChannelRuleTab[pDevice->byZoneType].chCountryCode[0], + ChannelRuleTab[pDevice->byZoneType].chCountryCode[1]); for (ii = 0; ii < CARD_MAX_CHANNEL_TBL; ii++) { if (pDevice->abyRegPwr[ii + 1] == 0) |