summaryrefslogtreecommitdiff
path: root/drivers/media/pci/mantis/hopper_cards.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-06-10 18:06:34 +0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-06-10 18:06:34 +0300
commit9d605e6359f0808581b89350c643208586f41a06 (patch)
treed817ee2e9b8028d60a881f70afabed0f10c3b5b1 /drivers/media/pci/mantis/hopper_cards.c
parenta96762da0cfcbe27f18febb84797269cd9faf791 (diff)
downloadlinux-9d605e6359f0808581b89350c643208586f41a06.tar.xz
[media] mantis: cleanup CodingStyle issues due to last commit
Commit a96762da0cfc('[media] mantis: add remote control support') introduced some new CodingStyle issues. Fix them. No functional changes. Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/pci/mantis/hopper_cards.c')
-rw-r--r--drivers/media/pci/mantis/hopper_cards.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/media/pci/mantis/hopper_cards.c b/drivers/media/pci/mantis/hopper_cards.c
index 97b7a3220dbd..68b5800030b7 100644
--- a/drivers/media/pci/mantis/hopper_cards.c
+++ b/drivers/media/pci/mantis/hopper_cards.c
@@ -107,7 +107,8 @@ static irqreturn_t hopper_irq_handler(int irq, void *dev_id)
if (stat & MANTIS_INT_IRQ1) {
dprintk(MANTIS_DEBUG, 0, "<%s>", label[2]);
spin_lock(&mantis->intmask_lock);
- mmwrite(mmread(MANTIS_INT_MASK) & ~MANTIS_INT_IRQ1, MANTIS_INT_MASK);
+ mmwrite(mmread(MANTIS_INT_MASK) & ~MANTIS_INT_IRQ1,
+ MANTIS_INT_MASK);
spin_unlock(&mantis->intmask_lock);
schedule_work(&mantis->uart_work);
}
@@ -169,7 +170,7 @@ static int hopper_pci_probe(struct pci_dev *pdev,
goto fail0;
}
- drvdata = (struct mantis_pci_drvdata *) pci_id->driver_data;
+ drvdata = (void *)pci_id->driver_data;
mantis->num = devs;
mantis->verbose = verbose;
mantis->pdev = pdev;
@@ -256,7 +257,7 @@ static void hopper_pci_remove(struct pci_dev *pdev)
static struct pci_device_id hopper_pci_table[] = {
MAKE_ENTRY(TWINHAN_TECHNOLOGIES, MANTIS_VP_3028_DVB_T, &vp3028_config,
- NULL),
+ NULL),
{ }
};