diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2008-12-14 15:45:45 -0500 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2009-03-24 15:56:39 -0400 |
commit | 2dbd7d7e2327b0c2cc4e2de903e1cfa19980a504 (patch) | |
tree | c0efb5bbd26bc2e18a61bf44d0c53db9494a096c /drivers/firewire/fw-transaction.c | |
parent | c490a6dec6cc1b7f0eab56b9fbd565129b3dea2e (diff) |
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 058f5ed2439..e17ebc42f12 100644 --- a/drivers/firewire/fw-transaction.c +++ b/drivers/firewire/fw-transaction.c | |||
@@ -943,11 +943,11 @@ static struct fw_descriptor model_id_descriptor = { | |||
943 | 943 | ||
944 | static int __init fw_core_init(void) | 944 | static int __init fw_core_init(void) |
945 | { | 945 | { |
946 | int retval; | 946 | int ret; |
947 | 947 | ||
948 | retval = bus_register(&fw_bus_type); | 948 | ret = bus_register(&fw_bus_type); |
949 | if (retval < 0) | 949 | if (ret < 0) |
950 | return retval; | 950 | return ret; |
951 | 951 | ||
952 | fw_cdev_major = register_chrdev(0, "firewire", &fw_device_ops); | 952 | fw_cdev_major = register_chrdev(0, "firewire", &fw_device_ops); |
953 | if (fw_cdev_major < 0) { | 953 | if (fw_cdev_major < 0) { |