summaryrefslogtreecommitdiff
path: root/drivers/media/rc/ite-cir.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2011-03-22 15:12:40 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-03-22 17:20:12 -0300
commit2ccb24ff3b94acb3f405b10a59967d52d95f91e0 (patch)
tree02ae2ea1769200a75e92f457b8eaee0387e71fba /drivers/media/rc/ite-cir.c
parent620a32bba4a2dd57ccf1d5f87b9e6d2402ffec22 (diff)
[media] ite-cir: Fix some CodingStyle issues
Cc: Juan J. Garcia de Soria <skandalfo@gmail.com> Cc: Stephan Raue <stephan@openelec.tv> Cc: Jarod Wilson <jarod@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/rc/ite-cir.c')
-rw-r--r--drivers/media/rc/ite-cir.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/media/rc/ite-cir.c b/drivers/media/rc/ite-cir.c
index 10358d5b3189..9be6a830f1d2 100644
--- a/drivers/media/rc/ite-cir.c
+++ b/drivers/media/rc/ite-cir.c
@@ -461,8 +461,10 @@ static int ite_tx_ir(struct rc_dev *rcdev, int *txbuf, u32 n)
else
val |= ITE_TX_SPACE;
- /* if we get to 0 available, read again, just in case
- * some other slot got freed */
+ /*
+ * if we get to 0 available, read again, just in case
+ * some other slot got freed
+ */
if (fifo_avail <= 0)
fifo_avail = ITE_TX_FIFO_LEN - dev->params.get_tx_used_slots(dev);
@@ -1511,7 +1513,7 @@ static int ite_probe(struct pnp_dev *pdev, const struct pnp_device_id
/* store resource values */
itdev->cir_addr = pnp_port_start(pdev, 0);
- itdev->cir_irq =pnp_irq(pdev, 0);
+ itdev->cir_irq = pnp_irq(pdev, 0);
/* initialize spinlocks */
spin_lock_init(&itdev->lock);