aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firewire/fw-device.h
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2008-12-14 15:47:04 -0500
committerStefan Richter <stefanr@s5r6.in-berlin.de>2009-03-24 15:56:40 -0400
commit53dca51175cc2f66d21aeb1e70146cca65c53dad (patch)
treeda729da20cc4ca1cb994fa6659be7f23259f7097 /drivers/firewire/fw-device.h
parent2dbd7d7e2327b0c2cc4e2de903e1cfa19980a504 (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-device.h')
-rw-r--r--drivers/firewire/fw-device.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/firewire/fw-device.h b/drivers/firewire/fw-device.h
index 655d7e838012..41483f1a1beb 100644
--- a/drivers/firewire/fw-device.h
+++ b/drivers/firewire/fw-device.h
@@ -180,8 +180,7 @@ struct fw_driver {
180 const struct fw_device_id *id_table; 180 const struct fw_device_id *id_table;
181}; 181};
182 182
183static inline struct fw_driver * 183static inline struct fw_driver *fw_driver(struct device_driver *drv)
184fw_driver(struct device_driver *drv)
185{ 184{
186 return container_of(drv, struct fw_driver, driver); 185 return container_of(drv, struct fw_driver, driver);
187} 186}