projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6dc425
)
mmc: sdhci-acpi: Use helper function acpi_device_uid()
author
Adrian Hunter
<adrian.hunter@intel.com>
Thu, 19 Oct 2017 10:41:43 +0000
(13:41 +0300)
committer
Ulf Hansson
<ulf.hansson@linaro.org>
Mon, 30 Oct 2017 10:50:40 +0000
(11:50 +0100)
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>
drivers/mmc/host/sdhci-acpi.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/host/sdhci-acpi.c
b/drivers/mmc/host/sdhci-acpi.c
index 08ae0ff13513bd795ae5517cd12dd1d2363792cf..e4b7fac5efb260ce38195080ba1a5903b61eaf93 100644
(file)
--- a/
drivers/mmc/host/sdhci-acpi.c
+++ b/
drivers/mmc/host/sdhci-acpi.c
@@
-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);