drivers: staging: vme: Deleted casting to (void *)
authorEgor Uleyskiy <egor.ulieiskii@gmail.com>
Sun, 22 Nov 2015 09:27:57 +0000 (11:27 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Nov 2015 23:30:50 +0000 (15:30 -0800)
Signed-off-by: Egor Uleyskiy <egor.ulieiskii@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vme/devices/vme_pio2_core.c

index 30712daf54fe2a073286155c09bf34c4fa5edd18..4f3cdbcedb3e34d0e7682c3ae309401d84c807eb 100644 (file)
@@ -343,7 +343,7 @@ static int pio2_probe(struct vme_dev *vdev)
        vec = card->irq_vector | PIO2_VME_VECTOR_SPUR;
 
        retval = vme_irq_request(vdev, card->irq_level, vec,
-                                &pio2_int, (void *)card);
+                                &pio2_int, card);
        if (retval < 0) {
                dev_err(&card->vdev->dev,
                        "Unable to attach VME interrupt vector0x%x, level 0x%x\n",
@@ -356,7 +356,7 @@ static int pio2_probe(struct vme_dev *vdev)
                vec = card->irq_vector | PIO2_VECTOR_BANK[i];
 
                retval = vme_irq_request(vdev, card->irq_level, vec,
-                                        &pio2_int, (void *)card);
+                                        &pio2_int, card);
                if (retval < 0) {
                        dev_err(&card->vdev->dev,
                                "Unable to attach VME interrupt vector0x%x, level 0x%x\n",
@@ -370,7 +370,7 @@ static int pio2_probe(struct vme_dev *vdev)
                vec = card->irq_vector | PIO2_VECTOR_CNTR[i];
 
                retval = vme_irq_request(vdev, card->irq_level, vec,
-                       &pio2_int, (void *)card);
+                       &pio2_int, card);
                if (retval < 0) {
                        dev_err(&card->vdev->dev,
                                "Unable to attach VME interrupt vector0x%x, level 0x%x\n",