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

Commit cd25c7be authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Ulf Hansson
Browse files

sdhci: acpi: Use new method to get ACPI companion



ACPI_COMPANION() macro reduces a code to get a companion device out of
struct device.

Use it instead of an old method.

Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: default avatarAdrian Hunter <adrian.hunter@intel.com>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 468c6483
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment