mmc: sdhci-acpi: Use helper function acpi_device_uid()

Make use of acpi_device_uid() instead of open coding.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
This commit is contained in:
Adrian Hunter 2017-10-19 13:41:43 +03:00 committed by Ulf Hansson
parent d6dc425ae5
commit a2038497e8

View File

@ -443,7 +443,7 @@ static int sdhci_acpi_probe(struct platform_device *pdev)
return -ENODEV; return -ENODEV;
hid = acpi_device_hid(device); hid = acpi_device_hid(device);
uid = device->pnp.unique_id; uid = acpi_device_uid(device);
/* Power on the SDHCI controller and its children */ /* Power on the SDHCI controller and its children */
acpi_device_fix_up_power(device); acpi_device_fix_up_power(device);