sdhci: acpi: Use new method to get ACPI companion
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 24 Jul 2017 14:59:58 +0000 (17:59 +0300)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 30 Aug 2017 12:01:39 +0000 (14:01 +0200)
commitcd25c7be3cc6f5f349e57a0bd0fd056e7f3f8dbe
treef913610ad488fc39dfba24c20014296c8d14ee35
parent468c648335b1724fcaa0c4f2a0247f77fe4f2977
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: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-acpi.c