summaryrefslogtreecommitdiff
path: root/drivers/connector/connector.c
diff options
context:
space:
mode:
authorValentin Ilie <valentin.ilie@gmail.com>2012-07-14 17:08:29 +0400
committerDavid S. Miller <davem@davemloft.net>2012-07-17 10:23:52 +0400
commitf3c48ecce56df6168be07377bf32bba88314b14c (patch)
treead84e4042379267670977d0c652d5af224d13f85 /drivers/connector/connector.c
parentad8c94532acbd64e7ada25ce188befb6ef6b2027 (diff)
downloadlinux-f3c48ecce56df6168be07377bf32bba88314b14c.tar.xz
drivers: connector: fixed coding style issues
V2: Replaced assignment in if statement. Fixed coding style issues. Signed-off-by: Valentin Ilie <valentin.ilie@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/connector/connector.c')
-rw-r--r--drivers/connector/connector.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/connector/connector.c b/drivers/connector/connector.c
index 116cf8d02834..82fa4f0f91d6 100644
--- a/drivers/connector/connector.c
+++ b/drivers/connector/connector.c
@@ -1,5 +1,5 @@
/*
- * connector.c
+ * connector.c
*
* 2004+ Copyright (c) Evgeniy Polyakov <zbr@ioremap.net>
* All rights reserved.
@@ -185,7 +185,8 @@ static void cn_rx_skb(struct sk_buff *__skb)
* May sleep.
*/
int cn_add_callback(struct cb_id *id, const char *name,
- void (*callback)(struct cn_msg *, struct netlink_skb_parms *))
+ void (*callback)(struct cn_msg *,
+ struct netlink_skb_parms *))
{
int err;
struct cn_dev *dev = &cdev;