diff options
author | Pavel Machek <pavel@ucw.cz> | 2006-07-10 16:29:10 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-07-11 21:10:42 +0100 |
commit | 7a2c3029850843210a55cf15f36227c8e578e6bd (patch) | |
tree | caab82361f787aa30cb48b465e1f2628f58493cb /arch/arm/common/locomo.c | |
parent | 7c3dec0679c66ce177726802adbe2f403942fc27 (diff) | |
download | blackbird-op-linux-7a2c3029850843210a55cf15f36227c8e578e6bd.tar.gz blackbird-op-linux-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/common/locomo.c')
-rw-r--r-- | arch/arm/common/locomo.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/common/locomo.c b/arch/arm/common/locomo.c index fbc3ab0e1011..04de83f4f008 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: |