diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2007-10-04 02:52:38 -0400 |
---|---|---|
committer | Jens Axboe <axboe@carl.home.kernel.dk> | 2007-10-10 03:25:59 -0400 |
commit | 34e1b83413d91999416443f31c276095f9937aa6 (patch) | |
tree | 96af0aa8dc731f7c006c3885899297ba590a9e0d /drivers/block/xsysace.c | |
parent | cb3503ca54dc34e8dc3b823a6bd52c0807c102f4 (diff) |
Sysace: Minor coding convention fixup
Put function call and return code test on separate lines.
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'drivers/block/xsysace.c')
-rw-r--r-- | drivers/block/xsysace.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/block/xsysace.c b/drivers/block/xsysace.c index 3ea172b7b7a4..3847464f5ea6 100644 --- a/drivers/block/xsysace.c +++ b/drivers/block/xsysace.c | |||
@@ -1091,7 +1091,8 @@ ace_alloc(struct device *dev, int id, unsigned long physaddr, | |||
1091 | ace->bus_width = bus_width; | 1091 | ace->bus_width = bus_width; |
1092 | 1092 | ||
1093 | /* Call the setup code */ | 1093 | /* Call the setup code */ |
1094 | if ((rc = ace_setup(ace)) != 0) | 1094 | rc = ace_setup(ace); |
1095 | if (rc) | ||
1095 | goto err_setup; | 1096 | goto err_setup; |
1096 | 1097 | ||
1097 | dev_set_drvdata(dev, ace); | 1098 | dev_set_drvdata(dev, ace); |
@@ -1253,11 +1254,13 @@ static int __init ace_init(void) | |||
1253 | goto err_blk; | 1254 | goto err_blk; |
1254 | } | 1255 | } |
1255 | 1256 | ||
1256 | if ((rc = ace_of_register()) != 0) | 1257 | rc = ace_of_register(); |
1258 | if (rc) | ||
1257 | goto err_of; | 1259 | goto err_of; |
1258 | 1260 | ||
1259 | pr_debug("xsysace: registering platform binding\n"); | 1261 | pr_debug("xsysace: registering platform binding\n"); |
1260 | if ((rc = platform_driver_register(&ace_platform_driver)) != 0) | 1262 | rc = platform_driver_register(&ace_platform_driver); |
1263 | if (rc) | ||
1261 | goto err_plat; | 1264 | goto err_plat; |
1262 | 1265 | ||
1263 | pr_info("Xilinx SystemACE device driver, major=%i\n", ace_major); | 1266 | pr_info("Xilinx SystemACE device driver, major=%i\n", ace_major); |