diff options
author | Jarod Wilson <jarod@redhat.com> | 2010-10-09 15:17:03 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-10-21 01:18:36 -0200 |
commit | 4fc215430f6764f3e30bdf86bc2a46ab2e0c4404 (patch) | |
tree | 8c4c74b1555264c473563e200672a49847d1e019 /drivers/media/IR | |
parent | 8be292cc035ebc3422f08e84682626dd8ed8334b (diff) | |
download | op-kernel-dev-4fc215430f6764f3e30bdf86bc2a46ab2e0c4404.zip op-kernel-dev-4fc215430f6764f3e30bdf86bc2a46ab2e0c4404.tar.gz |
[media] lirc_dev: fixup error messages w/missing newlines
Signed-off-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/IR')
-rw-r--r-- | drivers/media/IR/lirc_dev.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/drivers/media/IR/lirc_dev.c b/drivers/media/IR/lirc_dev.c index c20cfd1..930e4a7 100644 --- a/drivers/media/IR/lirc_dev.c +++ b/drivers/media/IR/lirc_dev.c @@ -362,24 +362,23 @@ int lirc_unregister_driver(int minor) struct irctl *ir; if (minor < 0 || minor >= MAX_IRCTL_DEVICES) { - printk(KERN_ERR "lirc_dev: lirc_unregister_driver: " - "\"minor (%d)\" must be between 0 and %d!\n", - minor, MAX_IRCTL_DEVICES-1); + printk(KERN_ERR "lirc_dev: %s: minor (%d) must be between " + "0 and %d!\n", __func__, minor, MAX_IRCTL_DEVICES-1); return -EBADRQC; } ir = irctls[minor]; if (!ir) { - printk(KERN_ERR "lirc_dev: lirc_unregister_driver: " - "failed to get irctl struct for minor %d!", minor); + printk(KERN_ERR "lirc_dev: %s: failed to get irctl struct " + "for minor %d!\n", __func__, minor); return -ENOENT; } mutex_lock(&lirc_dev_lock); if (ir->d.minor != minor) { - printk(KERN_ERR "lirc_dev: lirc_unregister_driver: " - "minor (%d) device not registered!", minor); + printk(KERN_ERR "lirc_dev: %s: minor (%d) device not " + "registered!\n", __func__, minor); mutex_unlock(&lirc_dev_lock); return -ENOENT; } |