diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2008-12-14 21:45:45 +0100 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2009-03-24 20:56:39 +0100 |
commit | 2dbd7d7e2327b0c2cc4e2de903e1cfa19980a504 (patch) | |
tree | c0efb5bbd26bc2e18a61bf44d0c53db9494a096c /drivers/firewire/fw-transaction.c | |
parent | firewire: core: remove obsolete assertions (diff) | |
download | linux-2dbd7d7e2327b0c2cc4e2de903e1cfa19980a504.tar.xz linux-2dbd7d7e2327b0c2cc4e2de903e1cfa19980a504.zip |
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.c | 8 |
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) { |