Skip to content

Commit

Permalink
[PATCH] Add superhyway_bus_type probe and remove methods
Browse files Browse the repository at this point in the history
Signed-off-by: Russell King <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
Russell King authored and gregkh committed Jan 13, 2006
1 parent f9ccf45 commit ff2dae7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/sh/superhyway/superhyway.c
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,6 @@ int superhyway_register_driver(struct superhyway_driver *drv)
{
drv->drv.name = drv->name;
drv->drv.bus = &superhyway_bus_type;
drv->drv.probe = superhyway_device_probe;
drv->drv.remove = superhyway_device_remove;

return driver_register(&drv->drv);
}
Expand Down Expand Up @@ -213,6 +211,8 @@ struct bus_type superhyway_bus_type = {
#ifdef CONFIG_SYSFS
.dev_attrs = superhyway_dev_attrs,
#endif
.probe = superhyway_device_probe,
.remove = superhyway_device_remove,
};

static int __init superhyway_bus_init(void)
Expand Down

0 comments on commit ff2dae7

Please sign in to comment.