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