diff options
author | Pavel Machek <pavel@ucw.cz> | 2006-07-10 11:29:10 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-07-11 16:10:42 -0400 |
commit | 7a2c3029850843210a55cf15f36227c8e578e6bd (patch) | |
tree | caab82361f787aa30cb48b465e1f2628f58493cb /arch/arm | |
parent | 7c3dec0679c66ce177726802adbe2f403942fc27 (diff) |
[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.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) | |||
506 | goto out; | 506 | goto out; |
507 | } | 507 | } |
508 | 508 | ||
509 | strncpy(dev->dev.bus_id,info->name,sizeof(dev->dev.bus_id)); | 509 | strncpy(dev->dev.bus_id, info->name, sizeof(dev->dev.bus_id)); |
510 | /* | 510 | /* |
511 | * If the parent device has a DMA mask associated with it, | 511 | * If the parent device has a DMA mask associated with it, |
512 | * propagate it down to the children. | 512 | * propagate it down to the children. |
@@ -729,7 +729,6 @@ __locomo_probe(struct device *me, struct resource *mem, int irq) | |||
729 | 729 | ||
730 | for (i = 0; i < ARRAY_SIZE(locomo_devices); i++) | 730 | for (i = 0; i < ARRAY_SIZE(locomo_devices); i++) |
731 | locomo_init_one_child(lchip, &locomo_devices[i]); | 731 | locomo_init_one_child(lchip, &locomo_devices[i]); |
732 | |||
733 | return 0; | 732 | return 0; |
734 | 733 | ||
735 | out: | 734 | out: |