summaryrefslogtreecommitdiff
path: root/drivers/media/usb/cx231xx/cx231xx-pcb-cfg.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-11-01 08:09:44 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-11-03 15:55:23 -0200
commit589dadf299bc8dab27589ecd62024c96a3812505 (patch)
treeca4b1213906a970a6579a386716878a01f216d84 /drivers/media/usb/cx231xx/cx231xx-pcb-cfg.c
parentf2dd851ff19412bdc80471048283edbb465f812e (diff)
[media] cx231xx: get rid of driver-defined printk macros
It currently does just like what pr_foo() macros do. So, replace them. A deeper cleanup is needed, as there are lots of debug macros printed with pr_info. Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/usb/cx231xx/cx231xx-pcb-cfg.c')
-rw-r--r--drivers/media/usb/cx231xx/cx231xx-pcb-cfg.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/drivers/media/usb/cx231xx/cx231xx-pcb-cfg.c b/drivers/media/usb/cx231xx/cx231xx-pcb-cfg.c
index 3052c4c20229..4666e533fe0a 100644
--- a/drivers/media/usb/cx231xx/cx231xx-pcb-cfg.c
+++ b/drivers/media/usb/cx231xx/cx231xx-pcb-cfg.c
@@ -703,8 +703,8 @@ int initialize_cx231xx(struct cx231xx *dev)
_current_scenario_idx = INDEX_BUSPOWER_DIF_ONLY;
break;
default:
- cx231xx_info("bad config in buspower!!!!\n");
- cx231xx_info("config_info=%x\n",
+ pr_info("bad config in buspower!!!!\n");
+ pr_info("config_info=%x\n",
(config_info & BUSPOWER_MASK));
return 1;
}
@@ -768,8 +768,8 @@ int initialize_cx231xx(struct cx231xx *dev)
_current_scenario_idx = INDEX_SELFPOWER_COMPRESSOR;
break;
default:
- cx231xx_info("bad senario!!!!!\n");
- cx231xx_info("config_info=%x\n",
+ pr_info("bad senario!!!!!\n");
+ pr_info("config_info=%x\n",
(config_info & SELFPOWER_MASK));
return -ENODEV;
}
@@ -781,17 +781,17 @@ int initialize_cx231xx(struct cx231xx *dev)
sizeof(struct pcb_config));
if (pcb_debug) {
- cx231xx_info("SC(0x00) register = 0x%x\n", config_info);
- cx231xx_info("scenario %d\n",
+ pr_info("SC(0x00) register = 0x%x\n", config_info);
+ pr_info("scenario %d\n",
(dev->current_pcb_config.index) + 1);
- cx231xx_info("type=%x\n", dev->current_pcb_config.type);
- cx231xx_info("mode=%x\n", dev->current_pcb_config.mode);
- cx231xx_info("speed=%x\n", dev->current_pcb_config.speed);
- cx231xx_info("ts1_source=%x\n",
+ pr_info("type=%x\n", dev->current_pcb_config.type);
+ pr_info("mode=%x\n", dev->current_pcb_config.mode);
+ pr_info("speed=%x\n", dev->current_pcb_config.speed);
+ pr_info("ts1_source=%x\n",
dev->current_pcb_config.ts1_source);
- cx231xx_info("ts2_source=%x\n",
+ pr_info("ts2_source=%x\n",
dev->current_pcb_config.ts2_source);
- cx231xx_info("analog_source=%x\n",
+ pr_info("analog_source=%x\n",
dev->current_pcb_config.analog_source);
}