ACPI: i2c-scmi: don't use acpi_device_uid()
We recently removed the acpi_device_uid() interface because nobody used it. I don't think it's essential here either. Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
parent
2b474ad847
commit
e96c9284bd
|
@ -369,9 +369,8 @@ static int acpi_smbus_cmi_add(struct acpi_device *device)
|
||||||
goto err;
|
goto err;
|
||||||
|
|
||||||
snprintf(smbus_cmi->adapter.name, sizeof(smbus_cmi->adapter.name),
|
snprintf(smbus_cmi->adapter.name, sizeof(smbus_cmi->adapter.name),
|
||||||
"SMBus CMI adapter %s (%s)",
|
"SMBus CMI adapter %s",
|
||||||
acpi_device_name(device),
|
acpi_device_name(device));
|
||||||
acpi_device_uid(device));
|
|
||||||
smbus_cmi->adapter.owner = THIS_MODULE;
|
smbus_cmi->adapter.owner = THIS_MODULE;
|
||||||
smbus_cmi->adapter.algo = &acpi_smbus_cmi_algorithm;
|
smbus_cmi->adapter.algo = &acpi_smbus_cmi_algorithm;
|
||||||
smbus_cmi->adapter.algo_data = smbus_cmi;
|
smbus_cmi->adapter.algo_data = smbus_cmi;
|
||||||
|
|
Loading…
Reference in New Issue