aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Walls <awalls@md.metrocast.net>2011-02-17 19:14:13 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-03-22 18:24:01 -0400
commit4933fc9d72104d66c54620537eb6f43457a6896f (patch)
tree5a4644b0a95628a79ddd8436885ec618874bcd19
parentd6dbd939b97d271766a58a66d69b27023bc90993 (diff)
[media] lirc_zilog: Fix somewhat confusing information messages in ir_probe()
The total sequence of messages emitted by the ir_porbe() calls for a transceiver's two i2c_clients was confusing. Clean it up a bit. Signed-off-by: Andy Walls <awalls@md.metrocast.net> Signed-off-by: Jarod Wilson <jarod@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/staging/lirc/lirc_zilog.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/staging/lirc/lirc_zilog.c b/drivers/staging/lirc/lirc_zilog.c
index 5946a9541c43..407d4b409a8b 100644
--- a/drivers/staging/lirc/lirc_zilog.c
+++ b/drivers/staging/lirc/lirc_zilog.c
@@ -1595,6 +1595,8 @@ static int ir_probe(struct i2c_client *client, const struct i2c_device_id *id)
1595 ret = -EBADRQC; 1595 ret = -EBADRQC;
1596 goto out_put_xx; 1596 goto out_put_xx;
1597 } 1597 }
1598 zilog_info("IR unit on %s (i2c-%d) registered as lirc%d and ready\n",
1599 adap->name, adap->nr, ir->l.minor);
1598 1600
1599out_ok: 1601out_ok:
1600 if (rx != NULL) 1602 if (rx != NULL)
@@ -1602,7 +1604,7 @@ out_ok:
1602 if (tx != NULL) 1604 if (tx != NULL)
1603 put_ir_tx(tx, true); 1605 put_ir_tx(tx, true);
1604 put_ir_device(ir, true); 1606 put_ir_device(ir, true);
1605 zilog_info("probe of IR %s on %s (i2c-%d) done. IR unit ready.\n", 1607 zilog_info("probe of IR %s on %s (i2c-%d) done\n",
1606 tx_probe ? "Tx" : "Rx", adap->name, adap->nr); 1608 tx_probe ? "Tx" : "Rx", adap->name, adap->nr);
1607 mutex_unlock(&ir_devices_lock); 1609 mutex_unlock(&ir_devices_lock);
1608 return 0; 1610 return 0;