summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-sa1100/dma.c
diff options
context:
space:
mode:
authorKristoffer Ericson <kristoffer.ericson@gmail.com>2008-11-26 20:58:43 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-12-01 17:22:45 +0000
commit93982535a201399c0023c1166a7f16a335134d5a (patch)
treec68452a8c9e1cc3557e3a8f4aac2c6cc96e4fcc7 /arch/arm/mach-sa1100/dma.c
parent799a0600ac49b03c1a6244847c2725c0082ba775 (diff)
downloadblackbird-obmc-linux-93982535a201399c0023c1166a7f16a335134d5a.tar.gz
blackbird-obmc-linux-93982535a201399c0023c1166a7f16a335134d5a.zip
[ARM] 5336/1: Formatting/Whitespace cleanups in mach-sa1100
This patch fixes bad formatting found in mach-sa1100 files. What it does is to replace/delete things like excessive spaces (start || endline). The code looks the same just alot less junk. Signed-off-by: Kristoffer Ericson <Kristoffer.Ericson@gmail.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-sa1100/dma.c')
-rw-r--r--arch/arm/mach-sa1100/dma.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-sa1100/dma.c b/arch/arm/mach-sa1100/dma.c
index 3f445ffd99f8..95f9c5a6d6d5 100644
--- a/arch/arm/mach-sa1100/dma.c
+++ b/arch/arm/mach-sa1100/dma.c
@@ -113,10 +113,10 @@ int sa1100_request_dma (dma_device_t device, const char *device_id,
}
}
if (!err) {
- if (dma)
- dma->device = device;
- else
- err = -ENOSR;
+ if (dma)
+ dma->device = device;
+ else
+ err = -ENOSR;
}
spin_unlock(&dma_list_lock);
if (err)
OpenPOWER on IntegriCloud