]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/arm/plat-omap/mailbox.c
arm: bus_id -> dev_name() and dev_set_name() conversions
[linux-2.6-omap-h63xx.git] / arch / arm / plat-omap / mailbox.c
index 848fdcafaa28f839098f87c217147e2b970b6b2c..ff1413eae0b84b73803c67754366e4ea09ea814f 100644 (file)
@@ -334,7 +334,7 @@ static int omap_mbox_init(struct omap_mbox *mbox)
        }
 
        mbox->dev.class = &omap_mbox_class;
-       strlcpy(mbox->dev.bus_id, mbox->name, BUS_ID_SIZE);
+       dev_set_name(&mbox->dev, "%s", mbox->name);
        dev_set_drvdata(&mbox->dev, mbox);
 
        ret = device_register(&mbox->dev);