diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2009-03-24 16:38:23 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-03-24 16:38:23 -0700 |
commit | b2bf61f23f74d5b5aa35f242a2fe2f08ce4a53e7 (patch) | |
tree | d60426e3ad8286d63117d45a3080db9f9ec8f293 /drivers/mfd/mcp-core.c | |
parent | cf43f4ab3a065296822bb245975d006707ccde8d (diff) | |
download | lwn-b2bf61f23f74d5b5aa35f242a2fe2f08ce4a53e7.tar.gz lwn-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/mcp-core.c')
-rw-r--r-- | drivers/mfd/mcp-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/mcp-core.c b/drivers/mfd/mcp-core.c index 6063dc2b52e8..57271cb3b316 100644 --- a/drivers/mfd/mcp-core.c +++ b/drivers/mfd/mcp-core.c @@ -214,7 +214,7 @@ EXPORT_SYMBOL(mcp_host_alloc); int mcp_host_register(struct mcp *mcp) { - strcpy(mcp->attached_device.bus_id, "mcp0"); + dev_set_name(&mcp->attached_device, "mcp0"); return device_register(&mcp->attached_device); } EXPORT_SYMBOL(mcp_host_register); |