Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[PATCH] Add MCP bus_type probe and remove methods

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

authored by

Russell King and committed by
Greg Kroah-Hartman
413b486e 4866b124

+2 -2
+2 -2
drivers/mfd/mcp-core.c
··· 77 static struct bus_type mcp_bus_type = { 78 .name = "mcp", 79 .match = mcp_bus_match, 80 .suspend = mcp_bus_suspend, 81 .resume = mcp_bus_resume, 82 }; ··· 229 int mcp_driver_register(struct mcp_driver *mcpdrv) 230 { 231 mcpdrv->drv.bus = &mcp_bus_type; 232 - mcpdrv->drv.probe = mcp_bus_probe; 233 - mcpdrv->drv.remove = mcp_bus_remove; 234 return driver_register(&mcpdrv->drv); 235 } 236 EXPORT_SYMBOL(mcp_driver_register);
··· 77 static struct bus_type mcp_bus_type = { 78 .name = "mcp", 79 .match = mcp_bus_match, 80 + .probe = mcp_bus_probe, 81 + .remove = mcp_bus_remove, 82 .suspend = mcp_bus_suspend, 83 .resume = mcp_bus_resume, 84 }; ··· 227 int mcp_driver_register(struct mcp_driver *mcpdrv) 228 { 229 mcpdrv->drv.bus = &mcp_bus_type; 230 return driver_register(&mcpdrv->drv); 231 } 232 EXPORT_SYMBOL(mcp_driver_register);