]> rtime.felk.cvut.cz Git - socketcan-devel.git/commitdiff
Remove trailing whitespace and blank lines.
authorthuermann <thuermann@030b6a49-0b11-0410-94ab-b0dab22257f2>
Wed, 9 May 2007 07:36:43 +0000 (07:36 +0000)
committerthuermann <thuermann@030b6a49-0b11-0410-94ab-b0dab22257f2>
Wed, 9 May 2007 07:36:43 +0000 (07:36 +0000)
git-svn-id: svn://svn.berlios.de//socketcan/trunk@295 030b6a49-0b11-0410-94ab-b0dab22257f2

kernel/2.6/drivers/net/can/Kconfig
kernel/2.6/drivers/net/can/Kconfig.kernel
kernel/2.6/drivers/net/can/vcan.c
kernel/2.6/net/can/Kconfig
kernel/2.6/net/can/af_can.c
kernel/2.6/net/can/bcm.c
kernel/2.6/net/can/proc.c

index c95d22b22537f1dd2bb24566bb5edb762e0483a6..fa345087d2b708714a749cb0a959a3cc3c308312 100644 (file)
@@ -82,4 +82,3 @@ config CAN_MPC52XX
          will be called mpc52xx_can.
 
 endmenu
-
index 282b012b7902f2d4e5e34aa040198d4fc243016c..dc3bb2c6fe746c09563a27217cbef93b00b87355 100644 (file)
@@ -23,4 +23,3 @@ config CAN_DEBUG_DEVICES
          on.
 
 endmenu
-
index 4cdc620b5d497971e22ee3d8a309c64dea3e6c01..5c455ad7e7524752c4c43d9dd8e7bc1575ac681d 100644 (file)
@@ -54,7 +54,7 @@
 RCSID("$Id$");
 
 static __initdata const char banner[] =
-       KERN_INFO "vcan: Virtual CAN interface driver\n"; 
+       KERN_INFO "vcan: Virtual CAN interface driver\n";
 
 MODULE_DESCRIPTION("virtual CAN interface");
 MODULE_LICENSE("Dual BSD/GPL");
index 8a9f1ae3d002a7fcef6d1bb54e5a799e7a6e5b8a..ce54af16b603c74635408f922e7c4a94b9493fff 100644 (file)
@@ -23,7 +23,7 @@ config CAN_RAW
        ---help---
          The Raw CAN protocol option offers access to the CAN bus via
          the BSD socket API. You probably want to use the raw socket in
-         most cases where no higher level protocol is being used. The raw 
+         most cases where no higher level protocol is being used. The raw
          socket has several filter options e.g. ID-Masking / Errorframes.
          To receive/send raw CAN messages, use AF_CAN with protocol CAN_RAW.
 
@@ -80,4 +80,3 @@ config CAN_DEBUG_CORE
 
 
 source "drivers/net/can/Kconfig"
-
index f296e139a9732c8d00ed47311154ec60f0285669..6cd6850314e1368e8c506784232e668841d4e217 100644 (file)
@@ -1042,7 +1042,7 @@ static __init int can_init(void)
 
        /*
         * Insert struct dev_rcv_lists for reception on all devices.
-        * This struct is zero initialized which is correct for the 
+        * This struct is zero initialized which is correct for the
         * embedded hlist heads, the dev pointer, and the entries counter.
         */
 
index c1e758d7423fc310c7dfa2e2af9bf3c1d2f17811..9df6f761e2cec22cdcb67924c498e67aa2f4f652 100644 (file)
@@ -309,7 +309,7 @@ static int bcm_read_proc(char *page, char **start, off_t off,
        return len;
 }
 
-/* 
+/*
  * bcm_can_tx - send the (next) CAN frame to the appropriate CAN interface
  *              of the given bcm tx op
  */
@@ -356,7 +356,7 @@ static void bcm_can_tx(struct bcm_op *op)
        dev_put(dev);
 }
 
-/* 
+/*
  * bcm_send_to_user - send a BCM message to the userspace
  *                    (consisting of bcm_msg_head + x CAN frames)
  */
@@ -512,9 +512,9 @@ static void bcm_rx_changed(struct bcm_op *op, struct can_frame *data)
 }
 
 /*
- * bcm_rx_update_and_send - process a detected relevant receive content change 
+ * bcm_rx_update_and_send - process a detected relevant receive content change
  *                          1. update the last received data
- *                          2. send a notification to the user (if possible) 
+ *                          2. send a notification to the user (if possible)
  */
 static void bcm_rx_update_and_send(struct bcm_op *op,
                                   struct can_frame *lastdata,
@@ -1019,7 +1019,7 @@ static int bcm_tx_setup(struct bcm_msg_head *msg_head, struct msghdr *msg,
 
        if (op->flags & TX_RESET_MULTI_IDX) {
                /* start multiple frame transmission with index 0 */
-               op->currframe = 0; 
+               op->currframe = 0;
        }
 
        if (op->flags & SETTIMER) {
@@ -1296,7 +1296,7 @@ static int bcm_rx_setup(struct bcm_msg_head *msg_head, struct msghdr *msg,
                                dev_put(dev);
                        }
 
-               } else 
+               } else
                        can_rx_register(NULL, op->can_id, REGMASK(op->can_id),
                                        bcm_rx_handler, op, IDENT);
        }
@@ -1367,7 +1367,7 @@ static int bcm_sendmsg(struct kiocb *iocb, struct socket *sock,
 
        if (!ifindex && msg->msg_name) {
                /* no bound device as default => check msg_name */
-               struct sockaddr_can *addr = 
+               struct sockaddr_can *addr =
                        (struct sockaddr_can *)msg->msg_name;
 
                if (addr->can_family != AF_CAN)
@@ -1407,7 +1407,7 @@ static int bcm_sendmsg(struct kiocb *iocb, struct socket *sock,
                else
                        ret = -EINVAL;
                break;
-                   
+
        case RX_DELETE:
                if (bcm_delete_rx_op(&bo->rx_ops, msg_head.can_id, ifindex))
                        ret = MHSIZ;
index 260c9a613175a9d26082d0da421da35e3148b7cc..75ff8a40360f96061d80bd979d8bb9b46e82ac25 100644 (file)
@@ -80,7 +80,7 @@ static struct proc_dir_entry *pde_rcvlist_err = NULL;
 
 static int user_reset = 0;
 
-/* 
+/*
  * af_can statistics stuff
  */
 
@@ -146,7 +146,7 @@ void can_stat_update(unsigned long data)
 
        /* calc total values */
        if (stats.rx_frames)
-               stats.total_rx_match_ratio = (stats.matches * 100) / 
+               stats.total_rx_match_ratio = (stats.matches * 100) /
                                                stats.rx_frames;
 
        stats.total_tx_rate = calc_rate(stats.jiffies_init, j,
@@ -182,7 +182,7 @@ void can_stat_update(unsigned long data)
        add_timer(&stattimer);
 }
 
-/* 
+/*
  * proc read functions
  *
  * From known use-cases we expect about 10 entries in a receive list to be