summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2006-07-10 16:29:10 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-07-11 21:10:42 +0100
commit7a2c3029850843210a55cf15f36227c8e578e6bd (patch)
treecaab82361f787aa30cb48b465e1f2628f58493cb /arch/arm
parent7c3dec0679c66ce177726802adbe2f403942fc27 (diff)
downloadlinux-3.10-7a2c3029850843210a55cf15f36227c8e578e6bd.tar.gz
linux-3.10-7a2c3029850843210a55cf15f36227c8e578e6bd.tar.bz2
linux-3.10-7a2c3029850843210a55cf15f36227c8e578e6bd.zip
[ARM] 3721/1: Small cleanup for locomo.c
Patch from Pavel Machek Cleanup locomo.c. Signed-off-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/common/locomo.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/common/locomo.c b/arch/arm/common/locomo.c
index fbc3ab0e101..04de83f4f00 100644
--- a/arch/arm/common/locomo.c
+++ b/arch/arm/common/locomo.c
@@ -506,7 +506,7 @@ locomo_init_one_child(struct locomo *lchip, struct locomo_dev_info *info)
goto out;
}
- strncpy(dev->dev.bus_id,info->name,sizeof(dev->dev.bus_id));
+ strncpy(dev->dev.bus_id, info->name, sizeof(dev->dev.bus_id));
/*
* If the parent device has a DMA mask associated with it,
* propagate it down to the children.
@@ -729,7 +729,6 @@ __locomo_probe(struct device *me, struct resource *mem, int irq)
for (i = 0; i < ARRAY_SIZE(locomo_devices); i++)
locomo_init_one_child(lchip, &locomo_devices[i]);
-
return 0;
out: