diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2008-12-14 15:47:04 -0500 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2009-03-24 15:56:40 -0400 |
commit | 53dca51175cc2f66d21aeb1e70146cca65c53dad (patch) | |
tree | da729da20cc4ca1cb994fa6659be7f23259f7097 /drivers/firewire/fw-topology.h | |
parent | 2dbd7d7e2327b0c2cc4e2de903e1cfa19980a504 (diff) |
firewire: remove line breaks before function names
type
function_name(parameters);
is nice to look at but was not used consistently.
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/firewire/fw-topology.h')
-rw-r--r-- | drivers/firewire/fw-topology.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/drivers/firewire/fw-topology.h b/drivers/firewire/fw-topology.h index addb9f8ea776..7e930f80beb3 100644 --- a/drivers/firewire/fw-topology.h +++ b/drivers/firewire/fw-topology.h | |||
@@ -51,26 +51,21 @@ struct fw_node { | |||
51 | struct fw_node *ports[0]; | 51 | struct fw_node *ports[0]; |
52 | }; | 52 | }; |
53 | 53 | ||
54 | static inline struct fw_node * | 54 | static inline struct fw_node *fw_node_get(struct fw_node *node) |
55 | fw_node_get(struct fw_node *node) | ||
56 | { | 55 | { |
57 | atomic_inc(&node->ref_count); | 56 | atomic_inc(&node->ref_count); |
58 | 57 | ||
59 | return node; | 58 | return node; |
60 | } | 59 | } |
61 | 60 | ||
62 | static inline void | 61 | static inline void fw_node_put(struct fw_node *node) |
63 | fw_node_put(struct fw_node *node) | ||
64 | { | 62 | { |
65 | if (atomic_dec_and_test(&node->ref_count)) | 63 | if (atomic_dec_and_test(&node->ref_count)) |
66 | kfree(node); | 64 | kfree(node); |
67 | } | 65 | } |
68 | 66 | ||
69 | void | 67 | void fw_destroy_nodes(struct fw_card *card); |
70 | fw_destroy_nodes(struct fw_card *card); | ||
71 | |||
72 | int | ||
73 | fw_compute_block_crc(u32 *block); | ||
74 | 68 | ||
69 | int fw_compute_block_crc(u32 *block); | ||
75 | 70 | ||
76 | #endif /* __fw_topology_h */ | 71 | #endif /* __fw_topology_h */ |