diff options
author | Richard Purdie <rpurdie@net.rmk.(none)> | 2005-01-12 00:34:00 +0000 |
---|---|---|
committer | Russell King <rmk@flint.arm.linux.org.uk> | 2005-01-12 00:34:00 +0000 |
commit | 08432e0eaa04024dcd90fb0c609cec3df0e8ed1d (patch) | |
tree | 971322e1780d93e3a277250bbccc834727858d45 /arch | |
parent | e078f2eebe5b880551a8bd7ec31a52a5e8a86e0b (diff) | |
download | history-08432e0eaa04024dcd90fb0c609cec3df0e8ed1d.tar.gz |
[ARM PATCH] 2386/1: Tidy up Sharp SCOOP driver coding style
Patch from Richard Purdie
Tidy up a couple of coding style issues in the Sharp SCOOP Driver
Signed-off-by: Richard Purdie
Signed-off-by: Russell King
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/common/scoop.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/common/scoop.c b/arch/arm/common/scoop.c index 141dd460732f0c..dd41da34b0c977 100644 --- a/arch/arm/common/scoop.c +++ b/arch/arm/common/scoop.c @@ -100,11 +100,13 @@ int __init scoop_probe(struct device *dev) struct platform_device *pdev = to_platform_device(dev); struct resource *mem = platform_get_resource(pdev, IORESOURCE_MEM, 0); - if (!mem) return -EINVAL; + if (!mem) + return -EINVAL; inf = dev->platform_data; scoop_io_base = ioremap(mem->start, 0x1000); - if (!scoop_io_base) return -ENOMEM; + if (!scoop_io_base) + return -ENOMEM; SCOOP_REG(SCOOP_MCR) = 0x0140; |