diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2009-03-25 00:38:23 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-03-25 00:38:23 +0100 |
commit | b2bf61f23f74d5b5aa35f242a2fe2f08ce4a53e7 (patch) | |
tree | d60426e3ad8286d63117d45a3080db9f9ec8f293 /drivers/mfd/ucb1x00-core.c | |
parent | mca: struct device - replace bus_id with dev_name(), dev_set_name() (diff) | |
download | linux-b2bf61f23f74d5b5aa35f242a2fe2f08ce4a53e7.tar.xz linux-b2bf61f23f74d5b5aa35f242a2fe2f08ce4a53e7.zip |
mfd: struct device - replace bus_id with dev_name(), dev_set_name()
Cc: sameo@openedhand.com
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Diffstat (limited to 'drivers/mfd/ucb1x00-core.c')
-rw-r--r-- | drivers/mfd/ucb1x00-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/ucb1x00-core.c b/drivers/mfd/ucb1x00-core.c index 6860c924f364..fea9085fe52c 100644 --- a/drivers/mfd/ucb1x00-core.c +++ b/drivers/mfd/ucb1x00-core.c @@ -492,7 +492,7 @@ static int ucb1x00_probe(struct mcp *mcp) ucb->dev.class = &ucb1x00_class; ucb->dev.parent = &mcp->attached_device; - strlcpy(ucb->dev.bus_id, "ucb1x00", sizeof(ucb->dev.bus_id)); + dev_set_name(&ucb->dev, "ucb1x00"); spin_lock_init(&ucb->lock); spin_lock_init(&ucb->io_lock); |