summaryrefslogtreecommitdiffstats
path: root/drivers/firewire/fw-transaction.c
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2008-12-14 21:45:45 +0100
committerStefan Richter <stefanr@s5r6.in-berlin.de>2009-03-24 20:56:39 +0100
commit2dbd7d7e2327b0c2cc4e2de903e1cfa19980a504 (patch)
treec0efb5bbd26bc2e18a61bf44d0c53db9494a096c /drivers/firewire/fw-transaction.c
parentc490a6dec6cc1b7f0eab56b9fbd565129b3dea2e (diff)
downloadlinux-2dbd7d7e2327b0c2cc4e2de903e1cfa19980a504.tar.bz2
firewire: standardize a variable name
"ret" is the new "retval". Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/firewire/fw-transaction.c')
-rw-r--r--drivers/firewire/fw-transaction.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/firewire/fw-transaction.c b/drivers/firewire/fw-transaction.c
index 058f5ed24390..e17ebc42f12c 100644
--- a/drivers/firewire/fw-transaction.c
+++ b/drivers/firewire/fw-transaction.c
@@ -943,11 +943,11 @@ static struct fw_descriptor model_id_descriptor = {
static int __init fw_core_init(void)
{
- int retval;
+ int ret;
- retval = bus_register(&fw_bus_type);
- if (retval < 0)
- return retval;
+ ret = bus_register(&fw_bus_type);
+ if (ret < 0)
+ return ret;
fw_cdev_major = register_chrdev(0, "firewire", &fw_device_ops);
if (fw_cdev_major < 0) {