Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a2038497 authored by Adrian Hunter's avatar Adrian Hunter Committed by Ulf Hansson
Browse files

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



Make use of acpi_device_uid() instead of open coding.

Signed-off-by: default avatarAdrian Hunter <adrian.hunter@intel.com>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent d6dc425a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -443,7 +443,7 @@ static int sdhci_acpi_probe(struct platform_device *pdev)
		return -ENODEV;

	hid = acpi_device_hid(device);
	uid = device->pnp.unique_id;
	uid = acpi_device_uid(device);

	/* Power on the SDHCI controller and its children */
	acpi_device_fix_up_power(device);