aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/connector/connector.c
diff options
context:
space:
mode:
authorValentin Ilie <valentin.ilie@gmail.com>2012-07-14 13:08:29 +0000
committerDavid S. Miller <davem@davemloft.net>2012-07-16 23:23:52 -0700
commitf3c48ecce56df6168be07377bf32bba88314b14c (patch)
treead84e4042379267670977d0c652d5af224d13f85 /drivers/connector/connector.c
parentirda: Fix typo in irda (diff)
downloadlinux-dev-f3c48ecce56df6168be07377bf32bba88314b14c.tar.xz
linux-dev-f3c48ecce56df6168be07377bf32bba88314b14c.zip
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;