From: Pavel Machek Date: Mon, 10 Jul 2006 15:29:10 +0000 (+0100) Subject: [ARM] 3721/1: Small cleanup for locomo.c X-Git-Tag: v3.12-rc1~34599^2~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7a2c3029850843210a55cf15f36227c8e578e6bd;p=kernel%2Fkernel-generic.git [ARM] 3721/1: Small cleanup for locomo.c Patch from Pavel Machek Cleanup locomo.c. Signed-off-by: Pavel Machek Signed-off-by: Russell King --- diff --git a/arch/arm/common/locomo.c b/arch/arm/common/locomo.c index fbc3ab0..04de83f 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: