mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
mwave: struct device - replace bus_id with dev_name(), dev_set_name()
Signed-off-by: Kay Sievers <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
c85e37c51e
commit
24d254759d
1 changed files with 1 additions and 1 deletions
|
|
@ -663,7 +663,7 @@ static int __init mwave_init(void)
|
|||
#if 0
|
||||
/* sysfs */
|
||||
memset(&mwave_device, 0, sizeof (struct device));
|
||||
snprintf(mwave_device.bus_id, BUS_ID_SIZE, "mwave");
|
||||
dev_set_name(&mwave_device, "mwave");
|
||||
|
||||
if (device_register(&mwave_device))
|
||||
goto cleanup_error;
|
||||
|
|
|
|||
Loading…
Reference in a new issue