From: Russell King Date: Thu, 5 Jan 2006 14:33:04 +0000 (+0000) Subject: [PATCH] Add locomo bus_type probe/remove methods X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=306955be37dd1b1f232f19766227ccccb83f7873;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [PATCH] Add locomo bus_type probe/remove methods Signed-off-by: Russell King Signed-off-by: Richard Purdie Signed-off-by: Greg Kroah-Hartman --- diff --git a/arch/arm/common/locomo.c b/arch/arm/common/locomo.c index 1b7eaab02b9e..159ad7ed7a40 100644 --- a/arch/arm/common/locomo.c +++ b/arch/arm/common/locomo.c @@ -1103,14 +1103,14 @@ static int locomo_bus_remove(struct device *dev) struct bus_type locomo_bus_type = { .name = "locomo-bus", .match = locomo_match, + .probe = locomo_bus_probe, + .remove = locomo_bus_remove, .suspend = locomo_bus_suspend, .resume = locomo_bus_resume, }; int locomo_driver_register(struct locomo_driver *driver) { - driver->drv.probe = locomo_bus_probe; - driver->drv.remove = locomo_bus_remove; driver->drv.bus = &locomo_bus_type; return driver_register(&driver->drv); }