]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/src/finish.c
Whitespace cleanup in some LinCAN source files to prepare for integration of Jan...
[lincan.git] / lincan / src / finish.c
index f10f309789d03d699a8f03e963aaf0ed7b74ff27..532d868c4b8edf93a22775299aa842b625d20f1c 100644 (file)
@@ -35,14 +35,14 @@ void msgobj_done(struct msgobj_t *obj)
                        CANMSG("msgobj_done: not registered in the canchip_t\n");
                obj->hostchip=NULL;
        }
-       
+
        if((obj->minor>=0)) {
                if(objects_p[obj->minor] == obj)
                        objects_p[obj->minor] = NULL;
                else
                        CANMSG("msgobj_done: not registered as minor\n");
        }
-       
+
        del_timer_sync(&obj->tx_timeout);
 
        if(obj->qends) {
@@ -77,16 +77,16 @@ void canchip_done(struct canchip_t *chip)
        }
 
        can_chip_free_irq(chip);
-               
+
        can_synchronize_irq(chip->chip_irq);
-       
+
        for(i=0; i<chip->max_objects; i++){
                if((obj=chip->msgobj[i])==NULL)
                        continue;
                msgobj_done(obj);
                can_checked_free(obj);
        }
-       
+
        can_checked_free(chip->chipspecops);
        chip->chipspecops=NULL;
 
@@ -100,13 +100,13 @@ void candevice_done(struct candevice_t *candev)
 {
        int i;
        struct canchip_t *chip;
-       
+
        for(i=0; i<candev->nr_all_chips; i++){
                if((chip=candev->chip[i])==NULL)
                        continue;
                canchip_done(chip);
                can_checked_free(chip);
-       
+
        }
        if(candev->flags & CANDEV_IO_RESERVED) {
                candev->hwspecops->release_io(candev);
@@ -124,7 +124,7 @@ void canhardware_done(struct canhardware_t *canhw)
 {
        int i;
        struct candevice_t *candev;
-       
+
        for(i=0; i<canhw->nr_boards; i++){
                if((candev=canhw->candevice[i])==NULL)
                        continue;