aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/connector/connector.c
diff options
context:
space:
mode:
authorValentin Ilie <valentin.ilie@gmail.com>2012-07-14 09:08:29 -0400
committerDavid S. Miller <davem@davemloft.net>2012-07-17 02:23:52 -0400
commitf3c48ecce56df6168be07377bf32bba88314b14c (patch)
treead84e4042379267670977d0c652d5af224d13f85 /drivers/connector/connector.c
parentad8c94532acbd64e7ada25ce188befb6ef6b2027 (diff)
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 @@
1/* 1/*
2 * connector.c 2 * connector.c
3 * 3 *
4 * 2004+ Copyright (c) Evgeniy Polyakov <zbr@ioremap.net> 4 * 2004+ Copyright (c) Evgeniy Polyakov <zbr@ioremap.net>
5 * All rights reserved. 5 * All rights reserved.
@@ -185,7 +185,8 @@ static void cn_rx_skb(struct sk_buff *__skb)
185 * May sleep. 185 * May sleep.
186 */ 186 */
187int cn_add_callback(struct cb_id *id, const char *name, 187int cn_add_callback(struct cb_id *id, const char *name,
188 void (*callback)(struct cn_msg *, struct netlink_skb_parms *)) 188 void (*callback)(struct cn_msg *,
189 struct netlink_skb_parms *))
189{ 190{
190 int err; 191 int err;
191 struct cn_dev *dev = &cdev; 192 struct cn_dev *dev = &cdev;