mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
sound: struct device - replace bus_id with dev_name(), dev_set_name()
[stripped sound/isa/* changes, replaced with the next patch -- tiwai] Signed-off-by: Kay Sievers <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
This commit is contained in:
parent
b02555c384
commit
bb072bf098
3 changed files with 5 additions and 5 deletions
|
|
@ -176,7 +176,7 @@ int soundbus_add_one(struct soundbus_dev *dev)
|
|||
return -EINVAL;
|
||||
}
|
||||
|
||||
snprintf(dev->ofdev.dev.bus_id, BUS_ID_SIZE, "soundbus:%x", ++devcount);
|
||||
dev_set_name(&dev->ofdev.dev, "soundbus:%x", ++devcount);
|
||||
dev->ofdev.dev.bus = &soundbus_bus_type;
|
||||
return of_device_register(&dev->ofdev);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue