down_write(&bus->subsys.rwsem); __bus_for_each_dev(bus, NULL, &count, bus_rescan_devices_helper); up_write(&bus->subsys.rwsem);
bus_for_each_dev(bus, NULL, &count, bus_rescan_devices_helper);
int bus_rescan_devices(struct bus_type * bus){	int count = 0;	down_write(&bus->subsys.rwsem);	__bus_for_each_dev(bus, NULL, &count, bus_rescan_devices_helper);	up_write(&bus->subsys.rwsem);	return count;}