diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-05-30 17:42:11 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-07-21 21:55:03 -0700 |
commit | 3f9787046ea37a26170dc4439efa21f8d23a9978 (patch) | |
tree | 7daa536e4231f683f9ed95ea1e007dd9d09f846c /arch/arm/plat-omap | |
parent | 2222c313e9371b6476787594bc5804c72cee2597 (diff) | |
download | kernel_samsung_smdk4412-3f9787046ea37a26170dc4439efa21f8d23a9978.zip kernel_samsung_smdk4412-3f9787046ea37a26170dc4439efa21f8d23a9978.tar.gz kernel_samsung_smdk4412-3f9787046ea37a26170dc4439efa21f8d23a9978.tar.bz2 |
arm: bus_id -> dev_name() and dev_set_name() conversions
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'arch/arm/plat-omap')
-rw-r--r-- | arch/arm/plat-omap/mailbox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-omap/mailbox.c b/arch/arm/plat-omap/mailbox.c index 848fdca..ff1413e 100644 --- a/arch/arm/plat-omap/mailbox.c +++ b/arch/arm/plat-omap/mailbox.c @@ -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); |