Loading drivers/sh/maple/maple.c +5 −6 Original line number Diff line number Diff line Loading @@ -368,10 +368,8 @@ static void maple_attach_driver(struct maple_device *mdev) /* Do this silently - as not a real device */ function = 0; mdev->driver = &maple_unsupported_device; sprintf(mdev->dev.bus_id, "%d:0.port", mdev->port); dev_set_name(&mdev->dev, "%d:0.port", mdev->port); } else { matched = bus_for_each_drv(&maple_bus_type, NULL, mdev, maple_check_matching_driver); Loading @@ -381,7 +379,8 @@ static void maple_attach_driver(struct maple_device *mdev) dev_info(&mdev->dev, "no driver found\n"); mdev->driver = &maple_unsupported_device; } sprintf(mdev->dev.bus_id, "%d:0%d.%lX", mdev->port, dev_set_name(&mdev->dev, "%d:0%d.%lX", mdev->port, mdev->unit, function); } Loading Loading @@ -789,7 +788,7 @@ struct bus_type maple_bus_type = { EXPORT_SYMBOL_GPL(maple_bus_type); static struct device maple_bus = { .bus_id = "maple", .init_name = "maple", .release = maple_bus_release, }; Loading drivers/sh/superhyway/superhyway.c +2 −2 Original line number Diff line number Diff line Loading @@ -22,7 +22,7 @@ static int superhyway_devices; static struct device superhyway_bus_device = { .bus_id = "superhyway", .init_name = "superhyway", }; static void superhyway_device_release(struct device *dev) Loading Loading @@ -83,7 +83,7 @@ int superhyway_add_device(unsigned long base, struct superhyway_device *sdev, dev->id.id = dev->vcr.mod_id; sprintf(dev->name, "SuperHyway device %04x", dev->id.id); sprintf(dev->dev.bus_id, "%02x", superhyway_devices); dev_set_name(&dev->dev, "%02x", superhyway_devices); superhyway_devices++; Loading Loading
drivers/sh/maple/maple.c +5 −6 Original line number Diff line number Diff line Loading @@ -368,10 +368,8 @@ static void maple_attach_driver(struct maple_device *mdev) /* Do this silently - as not a real device */ function = 0; mdev->driver = &maple_unsupported_device; sprintf(mdev->dev.bus_id, "%d:0.port", mdev->port); dev_set_name(&mdev->dev, "%d:0.port", mdev->port); } else { matched = bus_for_each_drv(&maple_bus_type, NULL, mdev, maple_check_matching_driver); Loading @@ -381,7 +379,8 @@ static void maple_attach_driver(struct maple_device *mdev) dev_info(&mdev->dev, "no driver found\n"); mdev->driver = &maple_unsupported_device; } sprintf(mdev->dev.bus_id, "%d:0%d.%lX", mdev->port, dev_set_name(&mdev->dev, "%d:0%d.%lX", mdev->port, mdev->unit, function); } Loading Loading @@ -789,7 +788,7 @@ struct bus_type maple_bus_type = { EXPORT_SYMBOL_GPL(maple_bus_type); static struct device maple_bus = { .bus_id = "maple", .init_name = "maple", .release = maple_bus_release, }; Loading
drivers/sh/superhyway/superhyway.c +2 −2 Original line number Diff line number Diff line Loading @@ -22,7 +22,7 @@ static int superhyway_devices; static struct device superhyway_bus_device = { .bus_id = "superhyway", .init_name = "superhyway", }; static void superhyway_device_release(struct device *dev) Loading Loading @@ -83,7 +83,7 @@ int superhyway_add_device(unsigned long base, struct superhyway_device *sdev, dev->id.id = dev->vcr.mod_id; sprintf(dev->name, "SuperHyway device %04x", dev->id.id); sprintf(dev->dev.bus_id, "%02x", superhyway_devices); dev_set_name(&dev->dev, "%02x", superhyway_devices); superhyway_devices++; Loading