aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb
diff options
context:
space:
mode:
authorSimon Arlott <simon@fire.lp0.eu>2007-05-06 20:06:32 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-07-18 13:23:12 -0400
commit900858ecb30c27ac94369052be650e25c0fd7d2a (patch)
tree293dd22022b8640756ccea216c2a34e0bfc46e1e /drivers/media/dvb
parentecf854df72847d90d5e44b6676a855677b5a33df (diff)
V4L/DVB (5631): Dvb-core: Add level fixes to printk()s, plus spelling/grammer
All the printks had missing level prefixes so I've fixed these too. Also fixed some grammer errors. Signed-off-by: Simon Arlott <simon@fire.lp0.eu> Signed-off-by: Trent Piepho <xyzzy@speakeasy.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb')
-rw-r--r--drivers/media/dvb/dvb-core/dvbdev.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/media/dvb/dvb-core/dvbdev.c b/drivers/media/dvb/dvb-core/dvbdev.c
index a9fa3337dd81..9ef0c00605ee 100644
--- a/drivers/media/dvb/dvb-core/dvbdev.c
+++ b/drivers/media/dvb/dvb-core/dvbdev.c
@@ -208,7 +208,7 @@ int dvb_register_device(struct dvb_adapter *adap, struct dvb_device **pdvbdev,
208 if ((id = dvbdev_get_free_id (adap, type)) < 0){ 208 if ((id = dvbdev_get_free_id (adap, type)) < 0){
209 mutex_unlock(&dvbdev_register_lock); 209 mutex_unlock(&dvbdev_register_lock);
210 *pdvbdev = NULL; 210 *pdvbdev = NULL;
211 printk ("%s: could get find free device id...\n", __FUNCTION__); 211 printk(KERN_ERR "%s: couldn't find free device id\n", __FUNCTION__);
212 return -ENFILE; 212 return -ENFILE;
213 } 213 }
214 214
@@ -252,7 +252,7 @@ int dvb_register_device(struct dvb_adapter *adap, struct dvb_device **pdvbdev,
252 return PTR_ERR(clsdev); 252 return PTR_ERR(clsdev);
253 } 253 }
254 254
255 dprintk("DVB: register adapter%d/%s%d @ minor: %i (0x%02x)\n", 255 dprintk(KERN_DEBUG "DVB: register adapter%d/%s%d @ minor: %i (0x%02x)\n",
256 adap->num, dnames[type], id, nums2minor(adap->num, type, id), 256 adap->num, dnames[type], id, nums2minor(adap->num, type, id),
257 nums2minor(adap->num, type, id)); 257 nums2minor(adap->num, type, id));
258 258
@@ -311,7 +311,7 @@ int dvb_register_adapter(struct dvb_adapter *adap, const char *name, struct modu
311 memset (adap, 0, sizeof(struct dvb_adapter)); 311 memset (adap, 0, sizeof(struct dvb_adapter));
312 INIT_LIST_HEAD (&adap->device_list); 312 INIT_LIST_HEAD (&adap->device_list);
313 313
314 printk ("DVB: registering new adapter (%s).\n", name); 314 printk(KERN_INFO "DVB: registering new adapter (%s)\n", name);
315 315
316 adap->num = num; 316 adap->num = num;
317 adap->name = name; 317 adap->name = name;
@@ -407,13 +407,13 @@ static int __init init_dvbdev(void)
407 dev_t dev = MKDEV(DVB_MAJOR, 0); 407 dev_t dev = MKDEV(DVB_MAJOR, 0);
408 408
409 if ((retval = register_chrdev_region(dev, MAX_DVB_MINORS, "DVB")) != 0) { 409 if ((retval = register_chrdev_region(dev, MAX_DVB_MINORS, "DVB")) != 0) {
410 printk("dvb-core: unable to get major %d\n", DVB_MAJOR); 410 printk(KERN_ERR "dvb-core: unable to get major %d\n", DVB_MAJOR);
411 return retval; 411 return retval;
412 } 412 }
413 413
414 cdev_init(&dvb_device_cdev, &dvb_device_fops); 414 cdev_init(&dvb_device_cdev, &dvb_device_fops);
415 if ((retval = cdev_add(&dvb_device_cdev, dev, MAX_DVB_MINORS)) != 0) { 415 if ((retval = cdev_add(&dvb_device_cdev, dev, MAX_DVB_MINORS)) != 0) {
416 printk("dvb-core: unable to get major %d\n", DVB_MAJOR); 416 printk(KERN_ERR "dvb-core: unable register character device\n");
417 goto error; 417 goto error;
418 } 418 }
419 419