Loading drivers/dio/dio-driver.c +2 −2 Original line number Original line Diff line number Diff line Loading @@ -83,7 +83,6 @@ int dio_register_driver(struct dio_driver *drv) /* initialize common driver fields */ /* initialize common driver fields */ drv->driver.name = drv->name; drv->driver.name = drv->name; drv->driver.bus = &dio_bus_type; drv->driver.bus = &dio_bus_type; drv->driver.probe = dio_device_probe; /* register with core */ /* register with core */ count = driver_register(&drv->driver); count = driver_register(&drv->driver); Loading Loading @@ -145,7 +144,8 @@ static int dio_bus_match(struct device *dev, struct device_driver *drv) struct bus_type dio_bus_type = { struct bus_type dio_bus_type = { .name = "dio", .name = "dio", .match = dio_bus_match .match = dio_bus_match, .probe = dio_device_probe, }; }; Loading Loading
drivers/dio/dio-driver.c +2 −2 Original line number Original line Diff line number Diff line Loading @@ -83,7 +83,6 @@ int dio_register_driver(struct dio_driver *drv) /* initialize common driver fields */ /* initialize common driver fields */ drv->driver.name = drv->name; drv->driver.name = drv->name; drv->driver.bus = &dio_bus_type; drv->driver.bus = &dio_bus_type; drv->driver.probe = dio_device_probe; /* register with core */ /* register with core */ count = driver_register(&drv->driver); count = driver_register(&drv->driver); Loading Loading @@ -145,7 +144,8 @@ static int dio_bus_match(struct device *dev, struct device_driver *drv) struct bus_type dio_bus_type = { struct bus_type dio_bus_type = { .name = "dio", .name = "dio", .match = dio_bus_match .match = dio_bus_match, .probe = dio_device_probe, }; }; Loading