[PATCH] Add pnp_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
4681fc32 1d0baa3a

+2 -2
+2 -2
drivers/pnp/driver.c
··· 195 195 struct bus_type pnp_bus_type = { 196 196 .name = "pnp", 197 197 .match = pnp_bus_match, 198 + .probe = pnp_device_probe, 199 + .remove = pnp_device_remove, 198 200 .suspend = pnp_bus_suspend, 199 201 .resume = pnp_bus_resume, 200 202 }; ··· 217 215 218 216 drv->driver.name = drv->name; 219 217 drv->driver.bus = &pnp_bus_type; 220 - drv->driver.probe = pnp_device_probe; 221 - drv->driver.remove = pnp_device_remove; 222 218 223 219 count = driver_register(&drv->driver); 224 220